snowflake-connector-nodejs has incorrect validation of temporary credential cache file permissions
snowflake-connector-nodejs is a NodeJS driver for Snowflake. Snowflake discovered and remediated a vulnerability in the Snowflake NodeJS Driver. File permissions checks of the temporary credential cache could be bypassed by an attacker with write access to the local cache directory. This vulnerability affects versions 1.12.0 through 2.0.1 on Linux. Snowflake fixed the issue in version 2.0.2.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-24791
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 00:55 UTC · Revision 1
Source evidence
snowflake-connector-nodejs has incorrect validation of temporary credential cache file permissions
core-osv · Original sourcePublished 29 Jan 2025, 16:59 UTC
snowflake-connector-nodejs is a NodeJS driver for Snowflake. Snowflake discovered and remediated a vulnerability in the Snowflake NodeJS Driver. File permissions checks of the temporary credential cache could be bypassed by an attacker with write access to the local cache directory. This vulnerability affects versions 1.12.0 through 2.0.1 on Linux. Snowflake fixed the issue in version 2.0.2.
osv:CVE-2025-24791
Complete source record
{
"id": "444167d0040ddf3a8ced8a288fcafad962d817da1c4fd7c8276430c83d117fab",
"url": "https://osv.dev/vulnerability/CVE-2025-24791",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "snowflake-connector-nodejs has incorrect validation of temporary credential cache file permissions",
"summary": "snowflake-connector-nodejs is a NodeJS driver for Snowflake. Snowflake discovered and remediated a vulnerability in the Snowflake NodeJS Driver. File permissions checks of the temporary credential cache could be bypassed by an attacker with write access to the local cache directory. This vulnerability affects versions 1.12.0 through 2.0.1 on Linux. Snowflake fixed the issue in version 2.0.2.",
"evidence": "osv:CVE-2025-24791",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-24791",
"aliases": [
"CVE-2025-24791",
"GHSA-xfhv-wqj6-rx99"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/snowflakedb/snowflake-connector-nodejs",
"type": "GIT",
"events": [
{
"introduced": "5cd97375e7dffe246619c9154a5a53f287b5798c"
},
{
"fixed": "a7f1339c540ce2b42f8cbcbcbef7cb9b615d60f6"
},
{
"fixed": "89731b3a4d61a75b721d13d4e47a7a3712ffa45f"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.12.0"
},
{
"fixed": "2.0.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "89731b3a4d61a75b721d13d4e47a7a3712ffa45f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.0.1",
"v2.0.0",
"v1.15.0",
"v1.14.0",
"v1.13.1",
"v1.13.0",
"v1.12.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-24791.json"
}
}
],
"modified": "2026-10-28T02:30:41.071546798Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24791.json",
"https://github.com/snowflakedb/snowflake-connector-nodejs/security/advisories/GHSA-xfhv-wqj6-rx99",
"https://nvd.nist.gov/vuln/detail/CVE-2025-24791",
"https://github.com/snowflakedb/snowflake-connector-nodejs/commit/89731b3a4d61a75b721d13d4e47a7a3712ffa45f"
],
"provider_metadata": {
"cwe_ids": [
"CWE-281"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24791.json"
}
},
"related_cves": [
{
"value": "CVE-2025-24791",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 508755,
"published_at": "2025-01-29T16:59:24.627+00:00"
}