CVE-2026-123859
Received Received - Intake

SQL Injection in Snowflake Connector for Python

Vulnerability report for CVE-2026-123859, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-06

Last updated on: 2026-11-06

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-06
Last Modified
2026-11-06
Generated
2026-11-06
AI Q&A
2026-11-06
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability occurs in the Snowflake Connector for Python when identifier escaping is disabled via non-default configuration. The write_pandas() function fails to escape DataFrame column names before generating SQL, allowing SQL injection. Attackers could craft column names to append malicious SQL statements, potentially accessing, modifying, or deleting data within the application's Snowflake role.

Detection Guidance

To detect this vulnerability, check if your Snowflake Connector for Python version is below 4.8.1 or if the Snowflake Connector for Python (Universal Core) version is below 5.2.0. Run commands like 'pip show snowflake-connector-python' or 'pip show snowflake-connector-python-universal-core' to verify installed versions.

Impact Analysis

If exploited, this vulnerability could allow unauthorized access to sensitive data, data manipulation, or data deletion within the Snowflake environment accessible by the application. Attackers need to control column names passed to write_pandas() to trigger the issue.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's data protection principles and HIPAA's security requirements for protected health information. Compliance breaches may result in legal penalties, reputational damage, and loss of trust.

Mitigation Strategies

Immediately upgrade to Snowflake Connector for Python version 4.8.1 or higher and Snowflake Connector for Python (Universal Core) version 5.2.0 or higher. Ensure identifier escaping is enabled in configurations to prevent SQL injection via crafted column names.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-123859. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...