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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-16 · Modified: 2026-04-16
- Record: https://cvemate.com/vulnerability/CVE-2026-6442 · JSON: https://cvemate.com/vulnerability/CVE-2026-6442/json

## Description

```text
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.
```

## Signals

- CVSS: 8.3 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.412%, percentile 37.542%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- snowflake cortex code cli: \< 1.0.25

## References

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

---

Data as of 2026-12-05T12:51:50.568Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
