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

> CVE-2026-123859: SQL Injection via unescaped DataFrame column names in Snowflake Connector for Python and Snowflake Connector for Python (Universal Core). CVSS 8.1 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-123859
Last updated: 2026-11-06T21:15:29Z

- Published: 2026-11-06 16:11 UTC · Updated: 2026-11-06 21:15 UTC · Assigner: SNOWFLAKE
- CVSS: 8.1 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.37%, 32th percentile (scored 2026-11-10)
- CISA KEV: no
- CWE: CWE-89

## 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.

## Affected vendors and products

- Snowflake: Snowflake Connector for Python
- Snowflake: Snowflake Connector for Python (Universal Core)

## Tracked companies

- [Snowflake](https://rewindex.com/company/snowflake.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-123859)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-123859)
- [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-481-oct-26-2026)
- [https://docs.snowflake.com/en/release-notes/clients-drivers/python-connector-2026\#version-520-nov-4-2026](https://docs.snowflake.com/en/release-notes/clients-drivers/python-connector-2026#version-520-nov-4-2026)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-123859 · Markdown: https://rewindex.com/cve/CVE-2026-123859.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-123859 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-11-11T04:21:55.283Z
