{"api_version":"1","generated_at":"2026-12-01T06:50:18+00:00","cve":"CVE-2026-140448","urls":{"html":"https://cve.report/CVE-2026-140448","api":"https://cve.report/api/cve/CVE-2026-140448.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-140448","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-140448"},"summary":{"title":"Improper Path Matching in Snowflake CLI Versions Allows Execution of Stage Files Outside the Requested Directory","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.","state":"PUBLISHED","assigner":"SNOWFLAKE","published_at":"2026-12-01 06:17:51","updated_at":"2026-12-01 06:17:51"},"problem_types":["CWE-187","CWE-187 Partial String Comparison"],"metrics":[{"version":"3.1","source":"412d305a-227d-44f9-a262-a31ba44f2aea","type":"Secondary","score":"8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","baseScore":8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"8","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/snowflakedb/snowflake-cli/releases/tag/v3.33.0","name":"https://github.com/snowflakedb/snowflake-cli/releases/tag/v3.33.0","refsource":"412d305a-227d-44f9-a262-a31ba44f2aea","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-140448","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140448","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Snowflake","product":"Snowflake CLI","version":"affected 3.33.0 semver","platforms":[]},{"source":"CNA","vendor":"Snowflake","product":"Snowflake CLI Labs","version":"affected 3.33.0 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Snowflake CLI","repo":"https://github.com/snowflakedb/snowflake-cli","vendor":"Snowflake","versions":[{"lessThan":"3.33.0","status":"affected","version":"0","versionType":"semver"}]},{"defaultStatus":"unaffected","product":"Snowflake CLI Labs","repo":"https://github.com/snowflakedb/snowflake-cli","vendor":"Snowflake","versions":[{"lessThan":"3.33.0","status":"affected","version":"0","versionType":"semver"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-187","description":"Partial String Comparison","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:30:13.998Z","orgId":"412d305a-227d-44f9-a262-a31ba44f2aea","shortName":"SNOWFLAKE"},"references":[{"name":"Snowflake CLI Release Notes","url":"https://github.com/snowflakedb/snowflake-cli/releases/tag/v3.33.0"}],"title":"Improper Path Matching in Snowflake CLI Versions Allows Execution of Stage Files Outside the Requested Directory","x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"412d305a-227d-44f9-a262-a31ba44f2aea","assignerShortName":"SNOWFLAKE","cveId":"CVE-2026-140448","datePublished":"2026-12-01T05:30:13.998Z","dateReserved":"2026-12-01T05:06:34.109Z","dateUpdated":"2026-12-01T05:30:13.998Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-01 06:17:51","lastModifiedDate":"2026-12-01 06:17:51","problem_types":["CWE-187","CWE-187 Partial String Comparison"],"metrics":{"cvssMetricV31":[{"source":"412d305a-227d-44f9-a262-a31ba44f2aea","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","baseScore":8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.3,"impactScore":6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"140448","Ordinal":"1","Title":"Improper Path Matching in Snowflake CLI Versions Allows Executio","CVE":"CVE-2026-140448","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"140448","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Improper Path Matching in Snowflake CLI Versions Allows Executio"}]}}}