CVE-2026-13749
JSON

8.8high

Snowflake CLI Arbitrary Code Execution via Snowpark Annotation Processor Template Injection

Severity
8.8high CVSS:3.1 by SNOWFLAKE
Exploit likelihood
0.38% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
SNOWFLAKE

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.

Affected

Product or packageVersionsReported by
Snowflake Snowflake CLIfrom 2.4.0 before 3.19.0CVE List
snowflake snowflake_clifrom 2.4.0 before 3.19.0NVD

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

La neutralización incorrecta en la plantilla de devolución de llamada del procesador de anotaciones de Snowpark en versiones de Snowflake CLI anteriores a la 3.19 permitió la ejecución de código arbitrario durante el empaquetado o la implementación de la aplicación. Un atacante podría explotar esto al proporcionar contenido de proyecto manipulado que se interpola en el código Python generado, haciendo que Snowflake CLI ejecute código controlado por el atacante en el contexto local del usuario que ejecuta la CLI. La explotación exitosa requiere que la víctima ejecute el flujo de trabajo de empaquetado o implementación relevante contra contenido de proyecto controlado por el atacante, y cualquier código resultante se ejecuta con los privilegios de ese contexto de ejecución local. La solución está disponible en la versión 3.19 de Snowflake CLI, y los usuarios deben actualizar manualmente.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-13749 changed 2026-06-29CVE Terms of Use
NVDCVE-2026-13749 changed 2026-10-25Public domain