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

- Severity: High 8.3 (CVSS:3.1, scored by SNOWFLAKE) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-04-16T18:43:21.181Z
- Modified: 2026-10-25T23:10:00.167Z
- Weaknesses: CWE-1286
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: SNOWFLAKE

## 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.

(As written by CVE List.)

## Affected

- Snowflake Cortex Code CLI: <1.0.25

## References

- <https://community.snowflake.com/s/article/PromptArmor-Report---Snowflake-Response>
- <https://www.promptarmor.com/>

## Sources

- CVE List: [CVE-2026-6442](https://www.cve.org/CVERecord?id=CVE-2026-6442), CVE Terms of Use, modified 2026-04-16
- NVD: [CVE-2026-6442](https://nvd.nist.gov/vuln/detail/CVE-2026-6442), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-6442 · Whole record: https://cve.day/CVE-2026-6442.json · Rebuilt by cve.day 2026-11-25T22:59:18.912Z
