CVE-2026-140448
8.0HighPublished Dec 1, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- High
- Privileges
- Low
- User action
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-187
What an attacker gets
Attackers can execute arbitrary SQL or Python code in the victim's Snowflake session. This requires the attacker to have write access to a shared stage and the victim to run specific CLI commands.
Root cause
The CLI uses raw string prefix matching instead of directory boundaries when selecting files for execution.
Affected versions
Snowflake CLI and Snowflake CLI labs versions prior to 3.33.0
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Fix & remediation
Upgrade to version 3.33.0 or later. Ensure strict access controls on shared stages to prevent unauthorized file writes.
$ pip install --upgrade snowflake-cli-labsAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1356257.5HighUnauthenticated attackers can download sensitive server files like wp-config.php, database dumps, and logs. This requires an attacker to first save a malicious path via the plugin's download settings.
- CVE-2026-1315797.5HighAuthenticated attackers with subscriber access can gain administrator-level control over WordPress settings. This requires the 'Access extensions' permission to be enabled for the user role and an empty extension allowlist.
- CVE-2026-1300377.5HighAuthenticated attackers can take over administrator accounts by resetting passwords via the REST API. This requires an account with 'Access extensions' capability and an empty extension allowlist.
- CVE-2026-1249979.8CriticalRemote attackers can take over Administrator accounts on target sites. This requires an attacker to have a Subscriber account on a trusted peer site with a matching username.
- CVE-2026-1400507.3HighRemote unauthenticated attackers can trigger a stack-based buffer overflow to crash the service or potentially execute code. This requires network access to the Monte Carlo Master TCP Results Listener.
- CVE-2026-1400429.9CriticalRemote attackers can achieve full system compromise via a stack-based buffer overflow. This requires low-privileged network access to the device.