9.8critical
The command auto-approval module in Axon Code contains an OS Command Injection vulnerability, rendering its whitelist security mechanism in…
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.60% (higher than 76% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
Description
The command auto-approval module in Axon Code contains an OS Command Injection vulnerability, rendering its whitelist security mechanism ineffective. The vulnerability stems from the incorrect use of an incompatible command parser (the Unix-based shell-quote library) to analyze commands on the Windows platform, coupled with a failure to correctly handle Windows CMD-specific escape sequences (^). Attackers can exploit this discrepancy between the parsing logic and the execution environment by constructing payloads such as git log ^" & malicious_command ^". The Axon Code parser is deceived by the escape characters, misinterpreting the malicious command connector (&) as being within a protected string argument and thus auto-approving the command. However, the underlying Windows CMD interpreter ignores the escaped quotes, parsing and executing the subsequent malicious command directly. This allows attackers to achieve arbitrary Remote Code Execution (RCE) after bypassing what appears to be a legitimate Git whitelist check.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| matterai axon_code | up to 4.123.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
The command auto-approval module in Axon Code contains an OS Command Injection vulnerability, rendering its whitelist security mechanism ineffective. The vulnerability stems from the incorrect use of an incompatible command parser (the Unix-based shell-quote library) to analyze commands on the Windows platform, coupled with a failure to correctly handle Windows CMD-specific escape sequences (^). Attackers can exploit this discrepancy between the parsing logic and the execution environment by constructing payloads such as git log ^" & malicious_command ^". The Axon Code parser is deceived by the escape characters, misinterpreting the malicious command connector (&) as being within a protected string argument and thus auto-approving the command. However, the underlying Windows CMD interpreter ignores the escaped quotes, parsing and executing the subsequent malicious command directly. This allows attackers to achieve arbitrary Remote Code Execution (RCE) after bypassing what appears to be a legitimate Git whitelist check.
NVD (es)
El módulo de autoaprobación de comandos en Axon Code contiene una vulnerabilidad de inyección de comandos del sistema operativo, lo que hace que su mecanismo de seguridad de lista blanca sea ineficaz. La vulnerabilidad se origina en el uso incorrecto de un analizador de comandos incompatible (la biblioteca shell-quote basada en Unix) para analizar comandos en la plataforma Windows, junto con una falla al manejar correctamente las secuencias de escape específicas de Windows CMD (^). Los atacantes pueden explotar esta discrepancia entre la lógica de análisis y el entorno de ejecución construyendo payloads como git log ^“ & malicious_command ^”. El analizador de Axon Code es engañado por los caracteres de escape, malinterpretando el conector de comando malicioso (&) como si estuviera dentro de un argumento de cadena protegido y, por lo tanto, autoaprobando el comando. Sin embargo, el intérprete subyacente de Windows CMD ignora las comillas escapadas, analizando y ejecutando directamente el comando malicioso subsiguiente. Esto permite a los atacantes lograr ejecución remota de código (RCE) arbitraria después de eludir lo que parece ser una verificación legítima de la lista blanca de Git.
References
| https://www.matterai.so/ | product | |
| https://github.com/Secsys-FDU/LLM-Tool-Calling-CVEs/issues/6 | issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-30303 changed 2026-03-27 | CVE Terms of Use |
| NVD | CVE-2026-30303 changed 2026-11-11 | Public domain |