# CVE-2025-24794: snowflake-connector-python vulnerable to insecure deserialization of the OCSP response cache

Source: https://junglewise.ai/threats/cve-2025-24794-snowflake-connector-python-vulnerable-to-insecure-deserialization  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-01-29  
License: CC BY 4.0 with a link back

CVE-2025-24794 · Severity: low · CVSS 3.1 · Published 2025-01-29

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.

Technologies: [snowflake-connector-python (PyPI)](https://junglewise.ai/threats/technologies/snowflake-connector-python). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-24794 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-24794 being exploited in the wild.

**How severe is CVE-2025-24794?** Low severity, with a CVSS score of 3.1, published 29 January 2025.

**Which products and versions are affected?** snowflake-connector-python (PyPI) ECOSYSTEM:introduced=2.7.12,fixed=3.13.1, GIT:introduced=0,fixed=3769b43822357c3874c40f5e74068458c2dc79af|ECOSYSTEM:introduced=2.7.12,fixed=3.13.1.

**Is there a fix for CVE-2025-24794?** Yes. snowflake-connector-python (PyPI): upgrade to 3.13.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-24794?** Check whether you run snowflake-connector-python (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- snowflake-connector-python (PyPI): upgrade to 3.13.1 or later

  ```sh
  pip install "snowflake-connector-python>=3.13.1"
  ```


## Affected products

- snowflake-connector-python (PyPI) ECOSYSTEM:introduced=2.7.12,fixed=3.13.1, GIT:introduced=0,fixed=3769b43822357c3874c40f5e74068458c2dc79af|ECOSYSTEM:introduced=2.7.12,fixed=3.13.1

## Identifiers

- CVE-2025-24794
- GHSA-m4f6-vcj4-w5mx
- PYSEC-2025-27

## Related threats

- [Snowflake drivers sensitive information insertion in logs](https://junglewise.ai/threats/cve-2026-86597-snowflake-drivers-sensitive-information-insertion-in-logs)
- [Snowflake Connector for Python improper TLS hostname verification](https://junglewise.ai/threats/cve-2026-15925-snowflake-connector-for-python-improper-tls-hostname-verification)
- [PYSEC-2026-922 - snowflake-connector-python is vulnerable to Regular Expression Denial of Service (ReDoS)](https://junglewise.ai/threats/cve-2022-42965-snowflake-connector-python-is-vulnerable-to-regular-expression)
- [Snowflake Connector for Python SQL injection in write_pandas](https://junglewise.ai/threats/cve-2025-24793-snowflake-connector-for-python-sql-injection-in-write-pandas)
- [snowflake-connector-python vulnerable to insecure cache files permissions](https://junglewise.ai/threats/cve-2025-24795-snowflake-connector-python-vulnerable-to-insecure-cache-files)
