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

Summary

CVECVE-2026-6442
StatePUBLISHED
AssignerSNOWFLAKE
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-04-16 19:16:35 UTC
Updated2026-04-16 19:16:35 UTC
DescriptionImproper 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.

Risk And Classification

Primary CVSS: v3.1 8.3 HIGH from 412d305a-227d-44f9-a262-a31ba44f2aea

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Problem Types: CWE-1286 | CWE-1286 Improper Validation of Syntactic Correctness of Input


VersionSourceTypeScoreSeverityVector
3.1412d305a-227d-44f9-a262-a31ba44f2aeaSecondary8.3HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
3.1CNACVSS8.3HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Snowflake Cortex Code CLI affected <1.0.25 custom Not specified

References

ReferenceSourceLinkTags
www.promptarmor.com 412d305a-227d-44f9-a262-a31ba44f2aea www.promptarmor.com
community.snowflake.com/s/article/PromptArmor-Report---Snowflake-Response 412d305a-227d-44f9-a262-a31ba44f2aea community.snowflake.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: PromptArmor (en)

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report