CVE-2025-24795
The Snowflake Connector for Python uses insecure cache files permissions
Reported by github_m · Published January 29, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| airflow | Chainguard | 2.10.5-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| snowflakedb | snowflake-connector-python | >= 2.3.7, < 3.13.1 |
| chainguard | airflow | 0 |
| snowflakedb | snowflake-connector-python | 2.3.7 |
| PyPI | snowflake-connector-python | 2.3.7 |
| wolfi | datadog-agent | 0 |
| chainguard | datadog-agent | 0 |
| wolfi | airflow | 0 |
| chainguard | datadog-agent-fips | 0 |
Timeline
- Jan 29, 2025 CVE Published
- Jan 29, 2025 PoC Published (2 in total, the first dated here)
- Jan 30, 2025 EPSS Score (30 in total, the first dated here)
- Jan 31, 2025 CVE Updated
- Feb 22, 2025 Coalition ESS Score (13 in total, the first dated here)
- Dec 19, 2025 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-24795
vulnetix vdb fixes CVE-2025-24795
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-24795/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-r2x6-cjg7-8r43 x_refsource_CONFIRM
- https://github.com/snowflakedb/snowflake-connector-python/commit/3769b43822357c3874c40f5e74068458c2dc79af x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-24795 advisory
- https://github.com/advisories/GHSA-r2x6-cjg7-8r43 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/snowflake-connector-python/PYSEC-2025-28.yaml advisory
- https://github.com/snowflakedb/snowflake-connector-python url
- https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.13.1 url