# CVE-2025-24795: The Snowflake Connector for Python uses insecure cache files 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.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2025-01-29T20:30:18.062Z
- Modified: 2026-09-10T03:50:22.180Z
- Also known as: GHSA-r2x6-cjg7-8r43, PYSEC-2025-28
- Weaknesses: CWE-276
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Snowflake discovered and remediated a vulnerability in the Snowflake Connector for Python. On Linux systems, when temporary credential caching is enabled, the Snowflake Connector for Python will cache temporary credentials locally in a world-readable file. This vulnerability affects versions 2.3.7 through 3.13.0. Snowflake fixed the issue in version 3.13.1.

(As written by CVE List.)

## Affected

- snowflakedb snowflake-connector-python: >= 2.3.7, < 3.13.1
- snowflake-connector-python (PyPI): from 2.3.7 before 3.13.1; before 3769b43822357c3874c40f5e74068458c2dc79af
- snowflake snowflake_connector: from 2.3.7 before 3.13.1

## 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:H/I:N/A:N`

## References

- <https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-r2x6-cjg7-8r43> (advisory, vendor-advisory, web)
- <https://github.com/snowflakedb/snowflake-connector-python/commit/3769b43822357c3874c40f5e74068458c2dc79af> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-24795> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/snowflake-connector-python/PYSEC-2025-28.yaml> (web)
- <https://github.com/snowflakedb/snowflake-connector-python> (package)
- <https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.13.1> (web)

## Sources

- CVE List: [CVE-2025-24795](https://www.cve.org/CVERecord?id=CVE-2025-24795), CVE Terms of Use, modified 2025-01-31
- GitHub Advisory Database: [GHSA-r2x6-cjg7-8r43](https://github.com/advisories/GHSA-r2x6-cjg7-8r43), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-24795](https://nvd.nist.gov/vuln/detail/CVE-2025-24795), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-28](https://osv.dev/vulnerability/PYSEC-2025-28), CC-BY-4.0, modified 2025-04-09

---

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