{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-6442","id":"CVE-2026-6442","title":"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 ","descriptionLong":"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.","published":"2026-04-16T18:43:21.181Z","updated":"2026-10-25T23:10:00.167Z","reserved":"2026-04-16T18:21:41.495Z","status":"Awaiting Analysis","rejected":false,"assigner":"SNOWFLAKE","metric":{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"SNOWFLAKE"},"metrics":[{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"SNOWFLAKE"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"412d305a-227d-44f9-a262-a31ba44f2aea"}],"rating":"high","products":["Snowflake Cortex Code CLI"],"affectedProducts":[{"vendor":"Snowflake","product":"Cortex Code CLI","defaultStatus":"unaffected","versions":[{"version":"<1.0.25","versionType":"custom","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-1286"],"aliases":[],"references":[{"url":"https://community.snowflake.com/s/article/PromptArmor-Report---Snowflake-Response","tags":[]},{"url":"https://www.promptarmor.com/","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00403,"epssPercentile":0.35328,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-6442","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6442","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-6442","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-6442","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}