CVE-2026-13749 Snowflake CLI Arbitrary Code Execution via Snowpark Annotation Processor Template Injection
Attackers can execute arbitrary code locally by supplying crafted project content to the Snowflake CLI during bundling or deployment workflows.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-13749?
CVE-2026-13749 is a high-severity code injection vulnerability in Snowflake CLI, published on 29 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2026-13749?
It affects 1 product.
Products include Snowflake Snowflake Cli.
How do I fix CVE-2026-13749?
No fix has been published for CVE-2026-13749 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-13749 being exploited?
There is no known exploitation of CVE-2026-13749 in the wild and no public exploit code.
Other vulnerabilities in Snowflake CLI
- CVE-2026-13744 Snowflake CLI SQL Injection Through Improper Neutralization of User-Controlled Input
- CVE-2026-13748 Snowflake CLI Arbitrary Local File Read and Exfiltration Through Improper File Path Restriction
- CVE-2026-13752 Improper neutralization of parameters in Snowflake CLI versions prior to 3.19 allowed unintended SQL execution.
- CVE-2026-13750 Snowflake CLI Sensitive Credential Exposure Through Debug Logging
- CVE-2026-13751 Snowflake CLI Server-Side Request Forgery via Arbitrary URL Fetch in !source/!load
Sources
Also known as GHSA-gxp8-hq7m-332h.