Skip to main content

Snowflake CLI CVE-2026-13749

| EUVDEUVD-2026-40135 HIGH
Code Injection (CWE-94)
2026-06-29 SNOWFLAKE GHSA-gxp8-hq7m-332h
8.8
CVSS 3.1 · Vendor: SNOWFLAKE
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious Snowpark project content
  2. Delivery
    Victim clones/obtains project
  3. Exploit
    Victim runs CLI bundle/deploy workflow
  4. Execution
    Template interpolates injected Python
  5. Impact
    Arbitrary code executes as local user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to run the Snowpark bundling or deployment workflow (the Snowflake CLI build/deploy commands) against attacker-controlled project content that is interpolated into the annotation processor callback template - this is the explicit UI:R precondition. The attacker needs no privileges or authentication (PR:N), but cannot trigger the flaw remotely on their own: the limiting factor is that a developer must obtain the malicious project and invoke the vulnerable workflow locally on a Snowflake CLI version below 3.19. Code runs only with the privileges of that local execution context, so impact is bounded by the developer/runner account's permissions; environments that never bundle or deploy untrusted Snowpark content are not realistically exposed.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, 8.8) reflects full confidentiality/integrity/availability impact on the local host with no attacker privileges, but it is gated by UI:R - the victim must actively run the bundling or deployment workflow against attacker-controlled project content. This is a 'malicious project/supply-chain' style trigger rather than a remotely sprayable service exploit, so real-world risk concentrates in developers who clone or process untrusted Snowpark projects (e.g., third-party repos, forks, sample apps). No EPSS score, KEV listing, or POC was provided: there is no public exploit identified at time of analysis and no evidence of active exploitation, which lowers immediate urgency relative to the high base score. The AV:N rating is defensible because malicious content is typically delivered over the network (a cloned repo), but note the actual code execution occurs locally during CLI invocation - defenders should treat this as developer-workstation RCE, not a server-side network exploit.

Exploit ScenarioDerived

An attacker publishes a seemingly legitimate Snowpark project (e.g., a sample app or library fork) containing crafted content that gets interpolated into the annotation processor callback template. A developer clones it and runs the Snowflake CLI bundle or deploy workflow; the generated Python includes the attacker's injected code, which executes immediately with the developer's local privileges, potentially stealing Snowflake credentials or pivoting into CI/CD. No public POC is currently identified, but the low attack complexity makes weaponization straightforward once content is delivered.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 29, 2026

Arbitrary code execution in Snowflake CLI versions prior to 3.19 lets an attacker run code in the context of any developer who bundles or deploys an attacker-supplied Snowpark project. The flaw lives in the Snowpark annotation processor callback template, where untrusted project content is interpolated directly into generated Python code (CWE-94). No public exploit has been identified at time of analysis, but the attack is straightforward and high-impact (CVSS 8.8) given that it executes with the victim's local privileges; exploitation hinges on the victim running the bundling/deployment workflow against malicious content.

RemediationAI

Vendor-released patch: Snowflake CLI version 3.19 - upgrade manually, as the advisory notes the update is not automatic. Verify the installed version after upgrading (e.g., via your package manager or 'snow --version') across all developer machines and CI runners that build or deploy Snowpark apps. Until every host is on 3.19, only run bundling or deployment workflows against project content you fully trust: avoid bundling/deploying third-party, forked, or untrusted Snowpark projects, and review project files (especially annotation/decorator content feeding the Snowpark processor) before running 'snow' build/deploy commands. As a containment trade-off, run untrusted bundling in an isolated sandbox or ephemeral container with minimal credentials so any injected code cannot reach production Snowflake secrets or the developer's broader environment. Full details: https://community.snowflake.com/s/article/Snowflake-CLI-Vulnerability-Advisory.

Affected VersionsENISA

Snowflake CLI 2.4.0 <3.19.0

Affected Packages

euvd snowflake_cli fix: 3.19.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Snowflake CLI (cpe:2.3:a:snowflake:snowflake_cli) is the official command-line tool for building, bundling, and deploying Snowflake applications, including Snowpark Python apps. During bundling/deployment the CLI generates Python source from templates - specifically an annotation processor callback template for Snowpark. The root cause is CWE-94 (Improper Control of Generation of Code / code injection): project-controlled values are concatenated/interpolated into the generated Python without proper neutralization, so attacker-chosen strings become executable code rather than inert data. When the generated module is produced and run, the injected Python executes in the local interpreter the developer is using.

Know when Snowflake Cli gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (SNOWFLAKE) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Malicious content is delivered over the network (AV:N) but requires the victim to run the bundling workflow (UI:R); attacker needs no privileges (PR:N), and injected code yields full local C/I/A impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (SNOWFLAKE).

CVSS VectorVendor: SNOWFLAKE

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Jun 29, 2026 - 18:01 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Snowflake CLI versions prior to 3.19 contain a code execution vulnerability in the Snowpark annotation processor that allows attackers to execute arbitrary code with developer privileges when processing attacker-supplied Snowpark projects. This creates a supply-chain risk where developers could be socially engineered into bundling or deploying malicious code, potentially compromising sensitive data access and enabling unauthorized activities through developer credentials.

Business Impact: High
Compensating Controls

Require independent code review and static analysis of all Snowpark projects before bundle or deployment; restrict CLI execution to internally-maintained, approved source repositories; enforce least-privilege access on developer Snowflake credentials and mandate multi-factor authentication; implement comprehensive logging and alerting for CLI execution and artifact generation; segment developer network access to limit lateral movement if code execution occurs.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
official Snowflake developer CLI, common in Snowflake shops, not universal
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy