CVE-2026-123859Snowflake Connector For Python SQL injection
CVSS score
8.1
High
CVSS 3.1 from 412d305a-227d-44f9-a262-a31ba44f2aea
Exploit probability (EPSS)
0.37%
0.37% chance of exploitation in the next 30 days, higher than 32.0% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: 412d305a-227d-44f9-a262-a31ba44f2aea
How to fix it, step by step
Check whether you're affected
Find every system running Snowflake Connector For Python (Universal Core) and compare its version with the affected versions.
Update to a fixed version
- Update Snowflake Connector For Python to 4.8.1, 5.2.0 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Snowflake Snowflake Connector For Python | ≥ 2.3.4, < 4.8.1 |
| Snowflake Snowflake Connector For Python (Universal Core) | ≥ 5.0.0b1, < 5.2.0 |
Weakness
- CWE-89 SQL injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-123859 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-123859?
CVE-2026-123859 has a CVSS 3.1 base score of 8.1 (high).
Which versions are affected?
Snowflake Snowflake Connector For Python (≥ 2.3.4, < 4.8.1), Snowflake Snowflake Connector For Python (Universal Core) (≥ 5.0.0b1, < 5.2.0)
Is there a patch for CVE-2026-123859?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.