CVE-2026-13749: Improper Control of Generation of Code ('Code Injection') in Snowflake Snowflake CLI
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.
AI Analysis
Technical Summary
This vulnerability in Snowflake CLI (CVE-2026-13749) involves improper control of code generation in the Snowpark annotation processor callback template. Specifically, crafted project content can be injected into generated Python code during bundling or deployment, leading to arbitrary code execution in the local user's context. The attack vector requires the victim to run the affected bundling or deployment workflow with attacker-controlled input. The vulnerability affects Snowflake CLI version 2.4.0 and is fixed in version 3.19. The CVSS 3.1 base score is 8.8, indicating high severity with network attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code locally with the privileges of the user running the Snowflake CLI. This can lead to full compromise of the local environment, including unauthorized access, data manipulation, and disruption of availability. The vulnerability requires user interaction and running a specific workflow with malicious project content, limiting remote exploitation but still posing a significant risk.
Mitigation Recommendations
A patch is available in Snowflake CLI version 3.19. Users must manually upgrade to this version or later to remediate the vulnerability. Since this is a client-side tool, the vendor does not manage remediation automatically. Until upgraded, users should avoid running bundling or deployment workflows against untrusted or attacker-controlled project content.
CVE-2026-13749: Improper Control of Generation of Code ('Code Injection') in Snowflake Snowflake CLI
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.
CVSS v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Snowflake CLI (CVE-2026-13749) involves improper control of code generation in the Snowpark annotation processor callback template. Specifically, crafted project content can be injected into generated Python code during bundling or deployment, leading to arbitrary code execution in the local user's context. The attack vector requires the victim to run the affected bundling or deployment workflow with attacker-controlled input. The vulnerability affects Snowflake CLI version 2.4.0 and is fixed in version 3.19. The CVSS 3.1 base score is 8.8, indicating high severity with network attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code locally with the privileges of the user running the Snowflake CLI. This can lead to full compromise of the local environment, including unauthorized access, data manipulation, and disruption of availability. The vulnerability requires user interaction and running a specific workflow with malicious project content, limiting remote exploitation but still posing a significant risk.
Mitigation Recommendations
A patch is available in Snowflake CLI version 3.19. Users must manually upgrade to this version or later to remediate the vulnerability. Since this is a client-side tool, the vendor does not manage remediation automatically. Until upgraded, users should avoid running bundling or deployment workflows against untrusted or attacker-controlled project content.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- SNOWFLAKE
- Date Reserved
- 2026-06-29T15:59:04.347Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a429b9527e9c7971920c153
Added to database: 06/29/2026, 16:21:41 UTC
Last enriched: 06/29/2026, 16:36:21 UTC
Last updated: 08/13/2026, 18:10:39 UTC
Views: 78
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.