Improper Command Validation in Snowflake Cortex Code CLI
CVE-2026-6442
8.3HIGH
What is CVE-2026-6442?
An vulnerability in Snowflake Cortex Code CLI allows for improper validation of bash commands. This flaw can enable an attacker to exploit the CLI by crafting malicious commands within untrusted content, such as a harmful repository. When the CLI agent processes these commands, it may unintentionally execute arbitrary code on the user's local device without obtaining user consent. The risk of exploitation can vary based on the model and is non-deterministic. Fortunately, when the CLI is relaunched, it automatically applies a fix that requires no action from the user.
Affected Version(s)
Cortex Code CLI <1.0.25
