CVE-2026-140448
Published:December 01, 2026
Updated:December 01, 2026
Improper path matching in Snowflake CLI & Snowflake CLI labs versions prior to 3.33.0 caused the snow stage execute and snow git execute commands to select files by raw string prefix rather than by directory boundary. When a directory path was given without a trailing slash, files in sibling locations whose names began with the same characters were also selected and executed. An attacker who can write files to a sibling location of a stage directory that a victim executes can cause Snowflake CLI & Snowflake CLI labs to execute attacker-controlled SQL or Python files in the context of the victim's Snowflake session and active role. Successful exploitation requires write access to a stage, or to the cloud storage location backing an external stage, that is shared with a more privileged user or automation, and requires the victim to run snow stage execute or snow git execute against a directory path in that stage. Impact is limited by the privileges held by the configured Snowflake role at execution time. The fix is available in Snowflake CLI & Snowflake CLI labs version 3.33.0, which also addresses several additional security findings. Users must manually upgrade.
Affected Packages
https://github.com/snowflakedb/snowflake-cli.git (GITHUB):
Affected version(s) >=v2.2.0-rc0 <v3.33.0 || >=v3.0.0-rc0 <v3.33.0Fix Suggestion:
Update to version v3.33.0snowflake-cli (PYTHON):
Affected version(s) >=3.0.1 <3.33.0 || =2.8.2 <3.33.0Fix Suggestion:
Update to version 3.33.0snowflake-cli-labs (PYTHON):
Affected version(s) >=2.2.0rc0 <3.33.0 || >=3.0.0rc0 <3.33.0Fix Suggestion:
Update to version 3.33.0Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
8
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Partial String Comparison
EPSS
Base Score:
0.73