{"id":"CVE-2025-24795","aliases":["CVE-2025-24795","GHSA-r2x6-cjg7-8r43","PYSEC-2025-28"],"related":[],"kind":"vulnerability","state":"published","title":"The Snowflake Connector for Python uses insecure cache files permissions","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Snowflake Connector para Python proporciona una interfaz para desarrollar aplicaciones Python que se pueden conectar a Snowflake y realizar todas las operaciones estándar. Snowflake descubrió y solucionó una vulnerabilidad en el conector Snowflake para Python. En los sistemas Linux, cuando se habilita el almacenamiento en caché de credenciales temporales, el conector Snowflake para Python almacenará en caché las credenciales temporales de forma local en un archivo legible para todo el mundo. Esta vulnerabilidad afecta a las versiones 2.3.7 a 3.13.0. Snowflake solucionó el problema en la versión 3.13.1.","source":"nvd"}],"published":"2025-01-29T20:30:18.062Z","modified":"2026-09-10T03:50:22.180Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-276"],"affected":[{"ranges":[{"version":">= 2.3.7, < 3.13.1","status":"affected"}],"vendor":"snowflakedb","product":"snowflake-connector-python","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.3.7","status":"affected","fixed":"3.13.1"}],"ecosystem":"PyPI","package":"snowflake-connector-python","purl":"pkg:pypi/snowflake-connector-python","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.3.7","fixed":"3.13.1"}],"vendor":"snowflake","product":"snowflake_connector","cpe":"cpe:2.3:a:snowflake:snowflake_connector:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"3769b43822357c3874c40f5e74068458c2dc79af"},{"type":"ecosystem","introduced":"2.3.7","status":"affected","fixed":"3.13.1"}],"ecosystem":"PyPI","package":"snowflake-connector-python","purl":"pkg:pypi/snowflake-connector-python","repo":"https://github.com/snowflakedb/snowflake-connector-python","source":"pysec"}],"references":[{"url":"https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-r2x6-cjg7-8r43","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/commit/3769b43822357c3874c40f5e74068458c2dc79af","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24795","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/snowflake-connector-python/PYSEC-2025-28.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.13.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-31T16:52:14.558Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-24795","url":"https://www.cve.org/CVERecord?id=CVE-2025-24795","licence":"CVE Terms of Use","modified":"2025-01-31T16:52:33.469Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r2x6-cjg7-8r43","url":"https://github.com/advisories/GHSA-r2x6-cjg7-8r43","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:22.180Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-24795","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24795","licence":"Public domain","modified":"2026-06-17T08:59:37.417Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-28","url":"https://osv.dev/vulnerability/PYSEC-2025-28","licence":"CC-BY-4.0","modified":"2025-04-09T17:59:12.570Z"}],"updatedAt":"2026-11-25T22:58:53.672Z","epss":{"score":0.00139,"percentile":0.03521,"date":"2026-12-01T12:00:22.000Z"}}