CVE-2025-24795
Python vulnerability analysis and mitigation

Overview

The Snowflake Connector for Python contains a security vulnerability (CVE-2025-24795) that affects versions 2.3.7 through 3.13.0. When temporary credential caching is enabled on Linux systems, the connector caches temporary credentials locally in a world-readable file, potentially exposing sensitive information. This vulnerability was discovered and remediated by Snowflake, with a fix released in version 3.13.1 (GitHub Advisory).

Technical details

The vulnerability is related to incorrect default permissions (CWE-276) in the credential caching mechanism. It specifically occurs when using EXTERNALBROWSER or USERNAMEPASSWORDMFA authentication methods with temporary credential caching enabled on Linux systems. The vulnerability has been assigned a CVSS v3.1 score of 4.4 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N, indicating local access is required, low attack complexity, and potential impacts to confidentiality and integrity (GitHub Advisory).

Impact

The vulnerability could allow unauthorized users on the same system to access cached temporary credentials, potentially leading to unauthorized access to Snowflake resources. The impact is limited to local systems where the connector is installed with temporary credential caching enabled (GitHub Advisory).

Mitigation and workarounds

Users are strongly recommended to upgrade to Snowflake Connector for Python version 3.13.1 or later, which fixes the vulnerability by implementing proper file permissions for cached credentials (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management