7.0high
Snowflake Connector for Python has an SQL Injection in write_pandas
- Severity
- 7.0high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-2vpq-fh52-j3wvPYSEC-2025-26
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. A function from the snowflake.connector.pandas_tools module is vulnerable to SQL injection. This vulnerability affects versions 2.2.5 through 3.13.0. Snowflake fixed the issue in version 3.13.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| snowflakedb snowflake-connector-python | >= 2.2.5, < 3.13.1 | CVE List |
| snowflake-connector-python (PyPI) | from 2.2.5 before 3.13.1, before f3f9b666518d29c31a49384bbaa9a65889e72056 | GitHub Advisory Database, PyPA Advisory Database |
| snowflake snowflake_connector | from 2.2.5 before 3.13.1 | NVD |
All scores
| GitHub_M | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
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. A function from the snowflake.connector.pandas_tools module is vulnerable to SQL injection. This vulnerability affects versions 2.2.5 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. A function from the snowflake.connector.pandas_tools module is vulnerable to SQL injection.
This vulnerability affects versions 2.2.5 through 3.13.0. Snowflake fixed the issue in version 3.13.1.
Vulnerability Details
A function from the snowflake.connector.pandas_tools module is not sanitizing all of its arguments, and queries using them are not parametrized. An attacker controlling these arguments could achieve SQL injection by passing crafted input. Any SQL executed that way by an attacker would still run in the context of the current session.
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. Una función del módulo snowflake.connector.pandas_tools es vulnerable a la inyección SQL. Esta vulnerabilidad afecta a las versiones 2.2.5 a 3.13.0. Snowflake solucionó el problema en la versión 3.13.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-24793 changed 2025-01-31 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2vpq-fh52-j3wv changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-24793 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2025-26 changed 2025-04-09 | CC-BY-4.0 |