HarborGuard / CVE
Back to search
HIGHCVE-2026-6442Published Modified CNA SNOWFLAKE

CVE-2026-6442: Improper Command Detection Logic Allows RCE in Cortex Code Command-Line Interface

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.

Metrics

CVSS v3.1
8.3
Severity
HIGH
Fixed in
Affected Products
1
Affected packages
  • Snowflake / Cortex Code CLI
    <1.0.25
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H