{"id":"CVE-2025-24794","aliases":["GHSA-m4f6-vcj4-w5mx","PYSEC-2025-27"],"title":"snowflake-connector-python vulnerable to insecure deserialization of the OCSP response cache","summary":"snowflake-connector-python vulnerable to insecure deserialization of the OCSP response cache","severity":"medium","cvss":6.7,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","vendor":"snowflake-connector-python","product":"snowflake-connector-python","ecosystem":"pip","affected":["snowflake-connector-python >= 2.7.12, < 3.13.1"],"patched":["snowflake-connector-python 3.13.1"],"published":"2025-01-29","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:22.103099115Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-m4f6-vcj4-w5mx","references":[{"url":"https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-m4f6-vcj4-w5mx"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-24794"},{"url":"https://github.com/snowflakedb/snowflake-connector-python/commit/3769b43822357c3874c40f5e74068458c2dc79af"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/snowflake-connector-python/PYSEC-2025-27.yaml"},{"url":"https://github.com/snowflakedb/snowflake-connector-python"},{"url":"https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.13.1"}],"tags":["osv","pip"],"epss":0.00251,"epssPercentile":0.16811,"ingestedAt":"2026-09-12T03:13:01.709Z","slug":"CVE-2025-24794","body":"## Overview\n\n### Issue\nSnowflake discovered and remediated a vulnerability in the Snowflake Connector for Python. The OCSP response cache uses pickle as the serialization format, potentially leading to local privilege escalation.\n\nThis vulnerability affects versions 2.7.12 through 3.13.0. Snowflake fixed the issue in version 3.13.1.\n\n### Vulnerability Details\nThe OCSP response cache is saved locally on the machine running the Connector using the pickle serialization format. This can potentially lead to local privilege escalation if an attacker has write access to the OCSP response cache file.\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).\n\n## Affected packages\n\n- `snowflake-connector-python >= 2.7.12, < 3.13.1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `snowflake-connector-python 3.13.1`","depth":"sunlit","depthScore":37,"depthScoreParts":{"impact":36.9,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}