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

Published Apr 16, 2026
·
Updated

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.

Affected Software

1 affected component
Snowflake Cortex Code CLI<1.0.25

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Snowflake Cortex Code CLI to a version that resolves this vulnerability.

    Fixed in 1.0.25

Event History

Apr 16, 2026
CVE Published
via MITRE·06:43 PM
Data Sourced
via MITRE·06:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6442?

CVE-2026-6442 is considered a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2026-6442?

To remediate CVE-2026-6442, update the Snowflake Cortex Code CLI to version 1.0.25 or later.

3

What impact does CVE-2026-6442 have on my system?

CVE-2026-6442 allows attackers to execute arbitrary commands outside the intended sandbox environment.

4

Which versions are affected by CVE-2026-6442?

CVE-2026-6442 affects all versions of Snowflake Cortex Code CLI prior to 1.0.25.

5

Is CVE-2026-6442 exploitable in a non-production environment?

Yes, CVE-2026-6442 can be exploited in any environment where the vulnerable Snowflake Cortex Code CLI is used.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203