CVE-2026-6442CWE-1286

Improper Command Detection Logic Allows RCE in Cortex Code Command-Line Interface

High · published April 16, 2026

CVSS v3.1
8.3
EPSS
0%
Percentile
40.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00482 · 40.6th percentile
Weakness
CWE-1286 · Improper Validation of Syntactic Correctness of Input
Published
2026-04-16T18:43Z
EPSS history
Timeline
  • 16 APR 18:43Z
    Improper Command Detection Logic Allows RCE in Cortex Code Command-Line Interface
    cvelistv5