CVE-2025-24791
MEDIUM 5.5CVSS 3.1snowflake-sdk may incorrectly validate 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.
- Published
- 29 Jan 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-281
- Also known as
- GHSA-xfhv-wqj6-rx99
- Sources
- NVDJSONOSV GHSA-xfhv-wqj6-rx99JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | snowflake | snowflake_connectorcpe:2.3:a:snowflake:snowflake_connector:*:*:*:*:*:node.js:*:* |
>= 1.12.0, < 2.0.2 | 2.0.2 |
| OSV | npm | snowflake-sdk | >= 1.12.0, < 2.0.2 | 2.0.2 |
References
- https://github.com/snowflakedb/snowflake-connector-nodejs/commit/89731b3a4d61a75b721d13d4e47a7a3712ffa45f · Patch, WEB
- https://github.com/snowflakedb/snowflake-connector-nodejs/security/advisories/GHSA-xfhv-wqj6-rx99 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-24791 · ADVISORY
- https://github.com/snowflakedb/snowflake-connector-nodejs · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 29 Jan 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Jan 2025)