# CVE-2025-24791: snowflake-connector-nodejs has incorrect validation of temporary credential cache file permissions

- Severity: Medium 4.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-01-29T16:59:24.627Z
- Modified: 2026-06-17T08:59:36.977Z
- Also known as: GHSA-xfhv-wqj6-rx99
- Weaknesses: CWE-281
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- snowflakedb snowflake-connector-nodejs: >= 1.12.0, < 2.0.2
- snowflake-sdk (npm): from 1.12.0 before 2.0.2
- snowflake snowflake_connector: from 1.12.0 before 2.0.2

## Every score

- GitHub_M: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/snowflakedb/snowflake-connector-nodejs/security/advisories/GHSA-xfhv-wqj6-rx99> (vendor-advisory, web)
- <https://github.com/snowflakedb/snowflake-connector-nodejs/commit/89731b3a4d61a75b721d13d4e47a7a3712ffa45f> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-24791> (advisory)
- <https://github.com/snowflakedb/snowflake-connector-nodejs> (package)

## Sources

- CVE List: [CVE-2025-24791](https://www.cve.org/CVERecord?id=CVE-2025-24791), CVE Terms of Use, modified 2025-01-29
- GitHub Advisory Database: [GHSA-xfhv-wqj6-rx99](https://github.com/advisories/GHSA-xfhv-wqj6-rx99), CC-BY-4.0, modified 2025-08-21
- NVD: [CVE-2025-24791](https://nvd.nist.gov/vuln/detail/CVE-2025-24791), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-24791 · Whole record: https://cve.day/CVE-2025-24791.json · Rebuilt by cve.day 2026-11-25T22:58:53.668Z
