# CVE-2025-24794: The Snowflake Connector for Python uses insecure deserialization of the OCSP response cache

- Severity: Medium 6.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2025-01-29T20:25:15.901Z
- Modified: 2026-09-10T03:50:22.103Z
- Also known as: GHSA-m4f6-vcj4-w5mx, PYSEC-2025-27
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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. The OCSP response cache uses pickle as the serialization format, potentially leading to local privilege escalation. This vulnerability affects versions 2.7.12 through 3.13.0. Snowflake fixed the issue in version 3.13.1.

(As written by CVE List.)

## Affected

- snowflakedb snowflake-connector-python: >= 2.7.12, < 3.13.1
- snowflake-connector-python (PyPI): from 2.7.12 before 3.13.1; before 3769b43822357c3874c40f5e74068458c2dc79af
- snowflake snowflake_connector: from 2.7.12 before 3.13.1

## Every score

- GitHub_M: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-m4f6-vcj4-w5mx> (advisory, vendor-advisory, web)
- <https://github.com/snowflakedb/snowflake-connector-python/commit/3769b43822357c3874c40f5e74068458c2dc79af> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-24794> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/snowflake-connector-python/PYSEC-2025-27.yaml> (web)
- <https://github.com/snowflakedb/snowflake-connector-python> (package)
- <https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.13.1> (web)

## Sources

- CVE List: [CVE-2025-24794](https://www.cve.org/CVERecord?id=CVE-2025-24794), CVE Terms of Use, modified 2025-01-31
- GitHub Advisory Database: [GHSA-m4f6-vcj4-w5mx](https://github.com/advisories/GHSA-m4f6-vcj4-w5mx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-24794](https://nvd.nist.gov/vuln/detail/CVE-2025-24794), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-27](https://osv.dev/vulnerability/PYSEC-2025-27), CC-BY-4.0, modified 2025-04-09

---

Page: https://cve.day/CVE-2025-24794 · Whole record: https://cve.day/CVE-2025-24794.json · Rebuilt by cve.day 2026-11-25T22:58:53.671Z
