Search
Find a vulnerability
Search criteria
2 vulnerabilities found for Snowflake CLI Labs by Snowflake
CVE-2026-140448 (GCVE-0-2026-140448)
Vulnerability from nvd – Published: 2026-12-01 05:30 – Updated: 2026-12-01 05:30
VLAI
EPSS
VEX
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.
Severity
CWE
- CWE-187 - Partial String Comparison
References
1 reference
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Snowflake | Snowflake CLI |
Affected:
0 , < 3.33.0
(semver)
|
|
| Snowflake | Snowflake CLI Labs |
Affected:
0 , < 3.33.0
(semver)
|
{
"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 \u0026 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 \u0026 Snowflake CLI labs to execute attacker-controlled SQL or Python files in the context of the victim\u0027s 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 \u0026 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"
}
CVE-2026-140448 (GCVE-0-2026-140448)
Vulnerability from cvelistv5 – Published: 2026-12-01 05:30 – Updated: 2026-12-01 05:30
VLAI
EPSS
VEX
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.
Severity
CWE
- CWE-187 - Partial String Comparison
References
1 reference
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Snowflake | Snowflake CLI |
Affected:
0 , < 3.33.0
(semver)
|
|
| Snowflake | Snowflake CLI Labs |
Affected:
0 , < 3.33.0
(semver)
|
{
"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 \u0026 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 \u0026 Snowflake CLI labs to execute attacker-controlled SQL or Python files in the context of the victim\u0027s 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 \u0026 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"
}