CVE-2026-6442
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HSummary
CVE-2026-6442 is a high-severity Improper Validation of Syntactic Correctness of Input (CWE-1286) vulnerability in Snowflake Cortex Code CLI (inferred from references). Its CVSS base score is 8.3 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 29th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-6442 is an improper validation of bash commands vulnerability affecting Snowflake Cortex Code CLI versions prior to 1.0.25. The flaw enables subsequent commands to execute outside the intended sandbox, stemming from CWE-1286 (Improper Validation of Specified Index or Position). Published on 2026-04-16 with a CVSS v3.1 base score of 8.3 (AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H), it poses a high-severity risk due to its potential for broad impact across confidentiality, integrity, and availability.
An attacker can exploit this vulnerability over the network by embedding specially crafted commands in untrusted content, such as a malicious repository. This requires tricking a user into interacting with the content via the CLI (UI:R), with no privileges needed (PR:N) but high attack complexity (AC:H). Successful exploitation leads to arbitrary code execution on the victim's local device without further consent, though it is non-deterministic and model-dependent. The changed scope (S:C) amplifies the impact to high levels across all CIA triad categories.
Snowflake's advisory confirms the fix is automatically applied upon relaunch of the CLI, requiring no user action. Additional details are available in the PromptArmor Report on Snowflake's community site (https://community.snowflake.com/s/article/PromptArmor-Report---Snowflake-Response) and PromptArmor's site (https://www.promptarmor.com/), which likely cover discovery and response specifics.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-23292
Vulnerability Data
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,…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V1.1.1V1.4.2V2.1.1V2.2.2
Mitigating Controls (NIST 800-53 r5) AI
SI-10 requires validation of information inputs for correctness, directly stopping syntactic validation failures from being introduced or exploitable.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Secure SDLC practices directly require syntactic input validation to prevent malformed data handling.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Security testing in development catches missing or incorrect syntax validation.
Secure development life cycle mandates input validation to ensure syntactic correctness.
Application security requirements explicitly call for validation of input syntax.
Secure architecture principles reduce the likelihood of missing syntactic checks.
Secure coding standards directly require proper syntactic validation of all inputs.