Skip to main content
← All vulnerabilities
CVE-2026-6442

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.25
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Snowflake Cortex Code CLI

    fixed in 1.0.25

References 2

community.snowflake.com

promptarmor.com