CVE-2025-24793: Snowflake Connector for Python has an SQL Injection in write_pandas
Issue Snowflake discovered and remediated a vulnerability in the Snowflake Connector for Python. A function from the snowflake.connector.pandastools 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.pandastools 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.
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. A function from the snowflake.connector.pandastools 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.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-24793?
CVE-2025-24793 has been classified as a high severity vulnerability due to its potential for SQL injection exploitation.
How do I fix CVE-2025-24793?
To remediate CVE-2025-24793, upgrade the Snowflake Connector for Python to version 3.13.1 or later.
What versions are affected by CVE-2025-24793?
CVE-2025-24793 affects versions of the Snowflake Connector for Python from 2.2.5 to 3.13.0.
What type of vulnerability is CVE-2025-24793?
CVE-2025-24793 is identified as an SQL injection vulnerability within the snowflake.connector.pandas_tools module.
Where can I find more information about CVE-2025-24793?
Detailed information about CVE-2025-24793 can be found in the security advisories and release notes for the Snowflake Connector for Python.