CVE-2026-123859
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.
How to fix
- Snowflake Snowflake Connector for Python4.8.1 or later
- Snowflake Snowflake Connector for Python (Universal Core)5.2.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Snowflake Snowflake Connector for Python | 2.3.4 ≤ v < 4.8.1 | 4.8.1 |
| Snowflake Snowflake Connector for Python (Universal Core) | 5.0.0b1 ≤ v < 5.2.0 | 5.2.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.