CVE-2025-24795: snowflake-connector-python vulnerable to insecure cache files permissions

CVE-2025-24795 · 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. 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.

Technologies: snowflake-connector-python (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2025-24795 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-24795 being exploited in the wild.
How severe is CVE-2025-24795?
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.3.7,fixed=3.13.1, GIT:introduced=0,fixed=3769b43822357c3874c40f5e74068458c2dc79af|ECOSYSTEM:introduced=2.3.7,fixed=3.13.1.
Is there a fix for CVE-2025-24795?
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-24795?
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
    pip install "snowflake-connector-python>=3.13.1"

Affected products

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

Identifiers

  • CVE-2025-24795
  • GHSA-r2x6-cjg7-8r43
  • PYSEC-2025-28

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.