CVE-2025-24795: The Snowflake Connector for Python uses insecure cache files permissions

Published Jan 29, 2025
·
Updated

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

Vulnerability Details On Linux, when either EXTERNALBROWSER or USERNAMEPASSWORDMFA authentication methods are used with temporary credential caching enabled, the Snowflake Connector for Python will cache the temporary credentials in a local file. In the vulnerable versions of the Driver, this file is created with world-readable permissions.

Solution Snowflake released version 3.13.1 of the Snowflake Connector for Python, which fixes this issue. We recommend users upgrade to version 3.13.1.

Additional Information If you discover a security vulnerability in one of our products or websites, please report the issue to HackerOne. For more information, please see our Vulnerability Disclosure Policy.

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
pip/snowflake-connector-python>=2.3.7<=3.13.0
3.13.1
All of the following
Snowflake Snowflake Connector Python>=2.3.7<3.13.1
Linux Linux kernel

Event History

Jan 29, 2025
CVE Published
via MITRE·08:30 PM
Data Sourced
via MITRE·08:30 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·08:49 PM
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
RemedyAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-24795?

CVE-2025-24795 is a high severity vulnerability due to the exposure of cached temporary credentials in a world-readable file.

2

How do I fix CVE-2025-24795?

To fix CVE-2025-24795, upgrade the Snowflake Connector for Python to version 3.13.1 or later.

3

What systems are affected by CVE-2025-24795?

CVE-2025-24795 affects the Snowflake Connector for Python installed on Linux systems with temporary credential caching enabled.

4

What are the risks associated with CVE-2025-24795?

The risks associated with CVE-2025-24795 include unauthorized access to sensitive data due to the exposure of temporary credentials.

5

Is CVE-2025-24795 present in earlier versions of the Snowflake Connector for Python?

Yes, CVE-2025-24795 is present in versions ranging from 2.3.7 to 3.13.0 of the Snowflake Connector for Python.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203