CVE-2026-140448
HIGH 8.0CVSS 3.1Improper Path Matching in Snowflake CLI Versions Allows Execution of Stage Files Outside the Requested Directory
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.
- Published
- 1 Dec 2026
- Last modified
- 1 Dec 2026
- Assigned by
- 412d305a-227d-44f9-a262-a31ba44f2aea
- NVD status
- Received
- Weakness
- CWE-187
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 412d305a-227d-44f9-a262-a31ba44f2aea (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| CVE List | SNOWFLAKE | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Snowflake | Snowflake CLI | < 3.33.0 | 3.33.0 |
| CVE List | Snowflake | Snowflake CLI Labs | < 3.33.0 | 3.33.0 |
References
History
- 1 Dec 2026 06:48 UTC · NVD: first stored (published 1 Dec 2026)
- 1 Dec 2026 05:40 UTC · CVE List: first stored (published 1 Dec 2026)