{"id":"CVE-2026-6442","aliases":["CVE-2026-6442"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Command Detection Logic Allows RCE in Cortex Code Command-Line Interface","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La validación incorrecta de comandos bash en versiones de Snowflake Cortex Code CLI anteriores a la 1.0.25 permitía que comandos subsiguientes se ejecutaran fuera de la sandbox. Un atacante podría explotar esto incrustando comandos especialmente diseñados en contenido no confiable, como un repositorio malicioso, haciendo que el agente de la CLI ejecutara código arbitrario en el dispositivo local sin el consentimiento del usuario. La explotación no es determinista y depende del modelo. La corrección se aplica automáticamente al reiniciar sin que se requiera ninguna acción del usuario.","source":"nvd"}],"published":"2026-04-16T18:43:21.181Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"SNOWFLAKE","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"SNOWFLAKE","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.3,"rating":"HIGH"}],"cwes":["CWE-1286"],"affected":[{"ranges":[{"type":"custom","version":"<1.0.25","status":"affected"}],"vendor":"Snowflake","product":"Cortex Code CLI","source":"cvelist"}],"references":[{"url":"https://community.snowflake.com/s/article/PromptArmor-Report---Snowflake-Response","tags":[],"sources":["cvelist","nvd"]},{"url":"https://www.promptarmor.com/","tags":[],"sources":["cvelist","nvd"]}],"credits":["PromptArmor"],"assigner":"SNOWFLAKE","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-16T18:54:18.323Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6442","url":"https://www.cve.org/CVERecord?id=CVE-2026-6442","licence":"CVE Terms of Use","modified":"2026-04-16T18:54:58.366Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6442","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6442","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:18.912Z","epss":{"score":0.00403,"percentile":0.36703,"date":"2026-12-01T12:00:22.000Z"}}