{"id":"CVE-2025-24795","aliases":["EUVD-2025-0190","GHSA-r2x6-cjg7-8r43","PYSEC-2025-28"],"status":"published","title":"The Snowflake Connector for Python uses insecure cache files permissions","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.","severity":{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00139,"percentile":0.03362,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-276"],"published":"2025-01-29T20:30:18Z","modified":"2026-11-11T02:47:48Z","fixes":[{"ecosystem":"PyPI","package":"snowflake-connector-python","fixed_in":["3.13.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"snowflake-connector-python","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.7"},{"last_affected":"3.13.0"},{"fixed":"3.13.1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"snowflake-connector-python","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"3769b43822357c3874c40f5e74068458c2dc79af"}]},{"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"]}],"products":[{"vendor":"snowflake","product":"snowflake_connector"},{"vendor":"snowflakedb","product":"snowflake-connector-python"}],"references":[{"url":"https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-r2x6-cjg7-8r43","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/commit/3769b43822357c3874c40f5e74068458c2dc79af","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.13.1","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24795","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/snowflake-connector-python/PYSEC-2025-28.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r2x6-cjg7-8r43"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/24xxx/CVE-2025-24795.json","tags":["advisory"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-24795","title":"The Snowflake Connector for Python uses insecure cache files permissions","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.","status":"published","published":"2025-01-29T20:30:18.062Z","modified":"2025-01-31T16:52:33.469Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-276"],"updated_at":"2026-11-02T14:32:44.11109Z"}],"euvd":[{"id":"EUVD-2025-0190","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.","status":"published","published":"2025-01-29T20:30:18Z","modified":"2025-01-31T16:52:33Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T00:04:08.172652Z"}],"ghsa":[{"id":"GHSA-r2x6-cjg7-8r43","title":"snowflake-connector-python vulnerable to insecure cache files permissions","description":"### 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).","status":"published","published":"2025-01-29T20:49:59Z","modified":"2025-04-09T20:11:00Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-276"],"updated_at":"2026-11-02T14:38:38.344711Z"}],"nvd":[{"id":"CVE-2025-24795","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.","status":"published","published":"2025-01-29T21:15:21.533Z","modified":"2026-06-17T08:59:37.417Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-276"],"updated_at":"2026-11-02T14:10:49.841519Z"}],"osv":[{"id":"CVE-2025-24795","title":"The Snowflake Connector for Python uses insecure cache files permissions","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.","status":"published","published":"2025-01-29T20:30:18.062Z","modified":"2026-11-11T10:47:19.081577326Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-276"],"updated_at":"2026-11-11T03:22:28.447808Z"},{"id":"GHSA-r2x6-cjg7-8r43","title":"snowflake-connector-python vulnerable to insecure cache files permissions","description":"### 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).","status":"published","published":"2025-01-29T20:49:59Z","modified":"2026-09-10T03:50:22.180562894Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-276"],"updated_at":"2026-11-02T15:46:55.122811Z"},{"id":"PYSEC-2025-28","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.","status":"published","published":"2025-01-29T21:15:21Z","modified":"2025-04-09T17:59:12.570886Z","updated_at":"2026-11-02T15:52:54.242332Z"}]}}
