SQL Injection Affecting snowflake-connector-python package, versions [2.3.4,4.8.1)[5.0.0b1,5.2.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.42% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-SNOWFLAKECONNECTORPYTHON-22958545
  • published25 Nov 2026
  • disclosed6 Nov 2026
  • creditUnknown

Introduced: 6 Nov 2026

NewCVE-2026-123859  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade snowflake-connector-python to version 4.8.1, 5.2.0 or higher.

Overview

snowflake-connector-python is a Snowflake Connector for Python

Affected versions of this package are vulnerable to SQL Injection via write_pandas() when identifier escaping is disabled through a non-default configuration. DataFrame column names are not escaped before being included in generated SQL statements, allowing an attacker who controls column names passed to this function to chain additional SQL statements onto the generated query. This can allow an attacker to read, modify, or delete other data accessible to the application's Snowflake role.

Note: This is only exploitable when identifier escaping is disabled through a non-default configuration and the application passes attacker-controlled column names into write_pandas().

CVSS Base Scores

version 4.0
version 3.1