What’s Vulnerable › Vulnerabilities
CVE-2026-6442: Improper Command Detection Logic Allows RCE in Cortex Code Command-Line Interface
- Severity: high (CVSS 8.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-16 · updated 2026-10-25
- Weakness: CWE-1286
Description
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.
Affected products
- Snowflake Cortex Code CLI: before 1.0.25
References
- https://community.snowflake.com/s/article/PromptArmor-Report---Snowflake-Response
- https://www.promptarmor.com/
Get alerted when CVE-2026-6442 or the next vulnerability affects your stack