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.
Published: 2026-03-27
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability involves an OS Command Injection in the auto‑approval module of MatterAI Axon Code. The flaw arises from the use of a Unix‑based shell‑quote library on a Windows platform without correctly handling Windows CMD escape sequences. Attackers can craft payloads that deceive the parser, bypass the whitelist system, and have the Windows shell execute arbitrary commands, resulting in Remote Code Execution.

Affected Systems

MatterAI Axon Code is affected. Any deployment that includes the auto‑approval feature before a vendor fix is vulnerable. No specific version information was provided, so all installations using this module are potentially at risk.

Risk and Exploitability

The issue has a CVSS score of 9.8, indicating a very high severity. The EPSS score is below 1 % and it is not listed in the CISA KEV catalog, suggesting a lower likelihood of immediate exploitation. The likely attack vector involves access to the interface that accepts Git commands; admitted or compromised users could submit malicious payloads such as "git log ^\"& malicious_command ^\"", which would be executed under the application's privileges.

Generated by OpenCVE AI on April 2, 2026 at 23:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Identify all servers running MatterAI Axon Code and confirm the auto‑approval module is in use.
  • Obtain and apply the vendor’s patch or update that protects the command parser as soon as it is released.
  • If a patch is not yet available, disable or restrict the auto‑approval feature and enforce a stricter command whitelist to block malicious input.
  • Implement monitoring for unexpected or repeated command execution patterns and maintain current backups to support rapid recovery if compromise occurs.

Generated by OpenCVE AI on April 2, 2026 at 23:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 03 Apr 2026 10:15:00 +0000

Type Values Removed Values Added
Title OS Command Injection in MatterAI Axon Code Auto‑Approval Module Enables Remote Code Execution

Thu, 02 Apr 2026 20:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:matterai:axon_code:*:*:*:*:*:*:*:*

Mon, 30 Mar 2026 08:15:00 +0000

Type Values Removed Values Added
First Time appeared Matterai
Matterai axon Code
Vendors & Products Matterai
Matterai axon Code

Sun, 29 Mar 2026 20:45:00 +0000

Type Values Removed Values Added
Title Axon Code Auto‑Approval Module Vulnerability Allows Remote Command Execution on Windows

Fri, 27 Mar 2026 20:30:00 +0000

Type Values Removed Values Added
Title Axon Code Auto‑Approval Module Vulnerability Allows Remote Command Execution on Windows

Fri, 27 Mar 2026 20:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-78
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 27 Mar 2026 14:30:00 +0000

Type Values Removed Values Added
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.
References

Subscriptions

Matterai Axon Code
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-03-27T19:17:04.406Z

Reserved: 2026-03-04T00:00:00.000Z

Link: CVE-2026-30303

cve-icon Vulnrichment

Updated: 2026-03-27T19:15:06.969Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-27T15:16:52.513

Modified: 2026-04-02T17:24:03.950

Link: CVE-2026-30303

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-03T09:38:45Z

Weaknesses