{"id":"GHSA-r2x6-cjg7-8r43","summary":"snowflake-connector-python vulnerable to insecure cache files permissions","details":"### Issue\nSnowflake 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.\n\nThis vulnerability affects versions 2.3.7 through 3.13.0. Snowflake fixed the issue in version 3.13.1.\n\n### Vulnerability Details\nOn Linux, when either EXTERNALBROWSER or USERNAME_PASSWORD_MFA authentication methods are used with temporary credential caching enabled, the Snowflake Connector for Python will cache the temporary credentials in a local file. In the vulnerable versions of the Driver, this file is created with world-readable permissions.\n\n### Solution\nSnowflake released version 3.13.1 of the Snowflake Connector for Python, which fixes this issue. We recommend users upgrade to version 3.13.1.\n\n### Additional Information\nIf you discover a security vulnerability in one of our products or websites, please report the issue to HackerOne. For more information, please see our [Vulnerability Disclosure Policy](https://hackerone.com/snowflake?type=team).","aliases":["CVE-2025-24795","PYSEC-2025-28"],"modified":"2026-07-17T21:16:35.845925197Z","published":"2025-01-29T20:49:59Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-01-29T20:49:59Z","nvd_published_at":"2025-01-29T21:15:21Z","cwe_ids":["CWE-276"]},"references":[{"type":"WEB","url":"https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-r2x6-cjg7-8r43"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24795"},{"type":"WEB","url":"https://github.com/snowflakedb/snowflake-connector-python/commit/3769b43822357c3874c40f5e74068458c2dc79af"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/snowflake-connector-python/PYSEC-2025-28.yaml"},{"type":"PACKAGE","url":"https://github.com/snowflakedb/snowflake-connector-python"},{"type":"WEB","url":"https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.13.1"}],"affected":[{"package":{"name":"snowflake-connector-python","ecosystem":"PyPI","purl":"pkg:pypi/snowflake-connector-python"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.7"},{"fixed":"3.13.1"}]}],"versions":["2.3.10","2.3.7","2.3.8","2.3.9","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.4.6","2.5.0","2.5.1","2.6.0","2.6.1","2.6.2","2.7.0","2.7.1","2.7.10","2.7.11","2.7.12","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.7.8","2.7.9","2.8.0","2.8.1","2.8.2","2.8.3","2.9.0","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.1.0","3.1.0a1","3.1.0a2","3.1.1","3.10.0","3.10.1","3.11.0","3.12.0","3.12.1","3.12.2","3.12.3","3.12.4","3.13.0","3.2.0","3.2.1","3.3.0","3.3.0b1","3.3.1","3.4.0","3.4.1","3.5.0","3.6.0","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.13.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-r2x6-cjg7-8r43/GHSA-r2x6-cjg7-8r43.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}