# CVE-2026-140448: Improper Path Matching in Snowflake CLI Versions Allows Execution of Stage Files Outside the Requested Directory

- Priority: **Routine**
- Reason: Not severe (CVSS 8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-01 · Modified: 2026-12-01
- Record: https://cvemate.com/vulnerability/CVE-2026-140448 · JSON: https://cvemate.com/vulnerability/CVE-2026-140448/json

## Description

```text
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.
```

## Signals

- CVSS: 8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.731%, percentile 55.654%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- snowflake snowflake cli: \< 3.33.0
- snowflake snowflake cli labs: \< 3.33.0

## References

- <https://github.com/snowflakedb/snowflake-cli/releases/tag/v3.33.0>

---

Data as of 2026-12-05T12:33:47.079Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
