CVE-2025-24795
JSON

4.4medium

The Snowflake Connector for Python uses insecure cache files permissions

Severity
4.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-r2x6-cjg7-8r43PYSEC-2025-28

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

Affected

Product or packageVersionsReported by
snowflakedb snowflake-connector-python>= 2.3.7, < 3.13.1CVE List
snowflake-connector-python (PyPI)from 2.3.7 before 3.13.1, before 3769b43822357c3874c40f5e74068458c2dc79afGitHub Advisory Database, PyPA Advisory Database
snowflake snowflake_connectorfrom 2.3.7 before 3.13.1NVD

All scores

GitHub_M4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
GitHub4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-276

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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 USERNAME_PASSWORD_MFA 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.

NVD (es)

Snowflake Connector para Python proporciona una interfaz para desarrollar aplicaciones Python que se pueden conectar a Snowflake y realizar todas las operaciones estándar. Snowflake descubrió y solucionó una vulnerabilidad en el conector Snowflake para Python. En los sistemas Linux, cuando se habilita el almacenamiento en caché de credenciales temporales, el conector Snowflake para Python almacenará en caché las credenciales temporales de forma local en un archivo legible para todo el mundo. Esta vulnerabilidad afecta a las versiones 2.3.7 a 3.13.0. Snowflake solucionó el problema en la versión 3.13.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-24795 changed 2025-01-31CVE Terms of Use
GitHub Advisory DatabaseGHSA-r2x6-cjg7-8r43 changed 2026-09-10CC-BY-4.0
NVDCVE-2025-24795 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2025-28 changed 2025-04-09CC-BY-4.0