CVE-2026-6442 HIGH

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

Vendor Snowflake
Product Cortex Code CLI
Weakness CWE-1286
Published April 16, 2026
Last update April 16, 2026

CVSS base score

8.3/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 16, 2026 CVE published
April 16, 2026 Record updated