---
id: CVE-2026-123859
title: >-
  SQL Injection via unescaped DataFrame column names in Snowflake Connector for
  Python and Snowflake Connector for Python (Universal Core)
summary: >-
  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
  DataFram…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cvssSource: cna
cwe:
  - CWE-89
vendor: Snowflake
product: snowflake-connector-python
affected:
  - snowflake-connector-python >= 2.3.4 < 4.8.1
  - snowflake-connector-python >= 5.0.0b1 < 5.2.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-11-06T16:43:26.090519Z'
published: '2026-11-06'
updated: '2026-11-06'
sourceUpdated: '2026-11-06T16:45:01.480Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-123859'
references:
  - url: >-
      https://docs.snowflake.com/en/release-notes/clients-drivers/python-connector-2026#version-481-oct-26-2026
    label: Snowflake Connector for Python Release Notes
  - url: >-
      https://docs.snowflake.com/en/release-notes/clients-drivers/python-connector-2026#version-520-nov-4-2026
    label: Snowflake Connector for Python (Universal Core) Release Notes
tags:
  - cve.org
ingestedAt: '2026-11-06T16:57:43.133Z'
epss: 0.00374
epssPercentile: 0.31542
---

## Overview

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

- `snowflake-connector-python >= 2.3.4 < 4.8.1`
- `snowflake-connector-python >= 5.0.0b1 < 5.2.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
