Snowflake CLI Arbitrary Code Execution via Snowpark Annotation Processor Template Injection
Summary
| CVE | CVE-2026-13749 |
|---|---|
| State | PUBLISHED |
| Assigner | SNOWFLAKE |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-29 16:16:39 UTC |
| Updated | 2026-06-29 17:16:29 UTC |
| Description | Improper neutralization in the Snowpark annotation processor callback template in Snowflake CLI versions prior to 3.19 allowed arbitrary code execution during application bundling or deployment. An attacker could exploit this by supplying crafted project content that is interpolated into generated Python code, causing Snowflake CLI to execute attacker-controlled code in the local context of the user running the CLI. Successful exploitation requires the victim to run the relevant bundling or deployment workflow against attacker-controlled project content, and any resulting code runs with the privileges of that local execution context. The fix is available in Snowflake CLI version 3.19, and users must manually upgrade. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from 412d305a-227d-44f9-a262-a31ba44f2aea
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Problem Types: CWE-94 | CWE-94 Improper Control of Generation of Code ('Code Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 412d305a-227d-44f9-a262-a31ba44f2aea | Secondary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Snowflake | Snowflake CLI | affected 2.4.0 3.19.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| community.snowflake.com/s/article/Snowflake-CLI-Vulnerability-Advisory | 412d305a-227d-44f9-a262-a31ba44f2aea | community.snowflake.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.