CVE-2025-24793
Snowflake Connector for Python has an SQL Injection in write_pandas
Reported by github_m · Published January 29, 2025
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| snowflakedb | snowflake-connector-python | >= 2.2.5, < 3.13.1 |
| chainguard | datadog-agent | 0 |
| snowflakedb | snowflake-connector-python | 2.2.5 |
| PyPI | snowflake-connector-python | 2.2.5 |
| chainguard | airflow | 0 |
| wolfi | datadog-agent | 0 |
| wolfi | airflow | 0 |
| chainguard | datadog-agent-fips | 0 |
Timeline
- Jan 29, 2025 CVE Published
- Jan 29, 2025 Coalition ESS Score (9 in total, the first dated here)
- Jan 29, 2025 PoC Published (2 in total, the first dated here)
- Jan 30, 2025 EPSS Score (30 in total, the first dated here)
- Jan 31, 2025 CVE Updated
- Dec 19, 2025 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-24793
vulnetix vdb fixes CVE-2025-24793
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-24793/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-2vpq-fh52-j3wv x_refsource_CONFIRM
- https://github.com/snowflakedb/snowflake-connector-python/commit/f3f9b666518d29c31a49384bbaa9a65889e72056 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-24793 advisory
- https://github.com/advisories/GHSA-2vpq-fh52-j3wv advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/snowflake-connector-python/PYSEC-2025-26.yaml advisory
- https://github.com/snowflakedb/snowflake-connector-python url
- https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v3.13.1 url