CVE-2026-6442
HIGHImproper Command Detection Logic Allows RCE in Cortex Code Command-Line Interface
Title source: cnaDescription
Improper validation of bash commands in Snowflake Cortex Code CLI versions prior to 1.0.25 allowed subsequent commands to execute outside the sandbox. An attacker could exploit this by embedding specially crafted commands in untrusted content, such as a malicious repository, causing the CLI agent to execute arbitrary code on the local device without user consent. Exploitation is non-deterministic and model-dependent. The fix is automatically applied upon relaunch with no user action required.
Scores
CVSS v3
8.3
EPSS
0.0008
EPSS Percentile
23.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Details
CWE
CWE-1286
Status
published
Products (1)
Snowflake/Cortex Code CLI
<1.0.25
Published
Apr 16, 2026
Tracked Since
Apr 17, 2026