CVE-2026-6442
Improper Command Detection Logic Allows RCE in Cortex Code Command-Line Interface
- State
- Published
- Severity
- 8.3 High
- Published
- Apr 16, 2026
- Updated
- Apr 16, 2026
- Reserved
- Apr 16, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.3 High | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H | SNOWFLAKE |
Weaknesses
- CWE-1286 Improper Validation of Syntactic Correctness of Input
Affected Products
| Product | Versions |
|---|---|
Cortex Code CLISnowflake |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.