8.3
HIGH CVSS 3.1
CVE-2026-6442
Improper Command Detection Logic Allows RCE in Cortex Code Command-Line Interface
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.

INFO

Published Date :

April 16, 2026, 7:16 p.m.

Last Modified :

April 16, 2026, 7:16 p.m.

Remotely Exploit :

Yes !

Source :

412d305a-227d-44f9-a262-a31ba44f2aea
Affected Products

The following products are affected by CVE-2026-6442 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 412d305a-227d-44f9-a262-a31ba44f2aea
Solution
Update Snowflake Cortex Code CLI for agent command execution vulnerability.
  • Relaunch Snowflake Cortex Code CLI to apply the automatic fix.
  • Ensure all instances are updated to version 1.0.25 or later.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-6442.

URL Resource
https://community.snowflake.com/s/article/PromptArmor-Report---Snowflake-Response
https://www.promptarmor.com/
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-6442 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-6442 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-6442 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-6442 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 412d305a-227d-44f9-a262-a31ba44f2aea

    Apr. 16, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
    Added CWE CWE-1286
    Added Reference https://community.snowflake.com/s/article/PromptArmor-Report---Snowflake-Response
    Added Reference https://www.promptarmor.com/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.