# CVE-2026-123859: SQL Injection via unescaped DataFrame column names in Snowflake Connector for Python and Snowflake Connector for Python (Universal Core)

- Severity: High 8.1 (CVSS:3.1, scored by SNOWFLAKE) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-11-06T16:11:51.526Z
- Modified: 2026-11-06T21:15:29.947Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- snowflake-connector-python: from 2.3.4 before 4.8.1; from 5.0.0b1 before 5.2.0

## References

- <https://docs.snowflake.com/en/release-notes/clients-drivers/python-connector-2026#version-481-oct-26-2026>
- <https://docs.snowflake.com/en/release-notes/clients-drivers/python-connector-2026#version-520-nov-4-2026>

## Sources

- CVE List: [CVE-2026-123859](https://www.cve.org/CVERecord?id=CVE-2026-123859), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-123859](https://nvd.nist.gov/vuln/detail/CVE-2026-123859), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-123859 · Whole record: https://cve.day/CVE-2026-123859.json · Rebuilt by cve.day 2026-11-25T22:59:49.295Z
