CVE-2026-123859
published high CVSS 3.1 · 8.1SQL Injection via unescaped DataFrame column names in Snowflake Connector for Python and Snowflake Connector for Python (Universal Core)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Snowflake | — | snowflake-connector-pythonSnowflake Connector for Python · 2.3.4 to < 4.8.1 · Other versions: unaffected | Affected | Not stated | SNOWFLAKE |
| Snowflake | — | snowflake-connector-pythonSnowflake Connector for Python (Universal Core) · 5.0.0b1 to < 5.2.0 · Other versions: unaffected | Affected | Not stated | SNOWFLAKE |
Description
When identifier escaping is disabled through a non-default configuration, the write_pandas() data-loading functionality in the Snowflake Connector for Python and the Snowflake Connector for Python (Universal Core) did not escape DataFrame column names before including them in generated SQL, which could allow SQL injection. In both products, a crafted column name could have been used to chain additional SQL statements onto the generated statement, potentially allowing an attacker to read, modify, or delete other data accessible to the application's Snowflake role. Exploitation required an application to pass attacker controlled column names into this functionality. The fix is available in Snowflake Connector for Python version 4.8.1 and Snowflake Connector for Python (Universal Core) version 5.2.0. Users must upgrade manually.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- SNOWFLAKE · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Snowflake | Snowflake Connector for Python | 2.3.4 to < 4.8.1 (affected · python)Default: unaffected | SNOWFLAKE · cna |
| Snowflake | Snowflake Connector for Python (Universal Core) | 5.0.0b1 to < 5.2.0 (affected · python)Default: unaffected | SNOWFLAKE · cna |
Weaknesses
1- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
2- Snowflake Connector for Python Release Notes https://docs.snowflake.com/en/release-notes/clients-drivers/python-connector-2026#version-481-oct-26-2026
- Snowflake Connector for Python (Universal Core) Release Notes https://docs.snowflake.com/en/release-notes/clients-drivers/python-connector-2026#version-520-nov-4-2026
Provider assertions
2SNOWFLAKE · cna
SQL Injection via unescaped DataFrame column names in Snowflake Connector for Python and Snowflake Connector for Python (Universal Core)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eb9835e3af661e819a35727769eaec721fb9ef0312be29d5e19445b964d159ee
- Ingested
- 07 Nov 2026, 23:40:33 UTC
- Source record
- Official CVE record