CVE-2026-6442

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

Published Apr 16, 2026 CVSS 3.1 · 8.3 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Snowflake
Snowflake cortex Code Cli
Vendors & Products Snowflake
Snowflake cortex Code Cli
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Improper Command Detection Logic Allows RCE in Cortex Code Command-Line Interface
Weaknesses CWE-1286
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
SNOWFLAKE
Published
Updated
Apr 16, 2026, 6:54 PM
Reserved
Apr 16, 2026, 6:21 PM
Status
Awaiting Analysis
Published
Apr 16, 2026, 7:16 PM
Modified
Oct 25, 2026, 11:10 PM