{"id":"CVE-2026-140448","aliases":["CVE-2026-140448"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Path Matching in Snowflake CLI Versions Allows Execution of Stage Files Outside the Requested Directory","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-12-01T05:30:13.998Z","modified":"2026-12-01T06:17:51.290Z","severity":{"scorer":"SNOWFLAKE","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"},"severities":[{"scorer":"SNOWFLAKE","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8,"rating":"HIGH"}],"cwes":["CWE-187"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.33.0","status":"affected"}],"vendor":"Snowflake","product":"Snowflake CLI","repo":"https://github.com/snowflakedb/snowflake-cli","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"3.33.0","status":"affected"}],"vendor":"Snowflake","product":"Snowflake CLI Labs","repo":"https://github.com/snowflakedb/snowflake-cli","source":"cvelist"}],"references":[{"url":"https://github.com/snowflakedb/snowflake-cli/releases/tag/v3.33.0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"SNOWFLAKE","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-140448","url":"https://www.cve.org/CVERecord?id=CVE-2026-140448","licence":"CVE Terms of Use","modified":"2026-12-01T05:30:13.998Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140448","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140448","licence":"Public domain","modified":"2026-12-01T06:17:51.290Z"}],"updatedAt":"2026-12-01T06:32:21.177Z","epss":{"score":0.00731,"percentile":0.55511,"date":"2026-12-01T12:00:22.000Z"}}