CVE-2026-30302

Published Mar 27, 2026 CVSS 3.1 · 10 Critical EPSS 2.1% KEV · Not listed
Description
The command auto-approval module in CodeRider-Kilo 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 CodeRider-Kilo 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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title OS Command Injection in CodeRider-Kilo Auto-Approval Module Enables Remote Code Execution
Type Values Removed Values Added
Title OS Command Injection in CodeRider-Kilo Auto-Approval Module Enables Remote Code Execution
Type Values Removed Values Added
Title OS Command Injection in CodeRider‑Kilo Auto‑Approval Module Enables Remote Code Execution
Type Values Removed Values Added
Title OS Command Injection in CodeRider‑Kilo Auto‑Approval Module Enables Remote Code Execution
Type Values Removed Values Added
First Time appeared Coderider-kilo
Coderider-kilo coderider
CPEs cpe:2.3:a:coderider-kilo:coderider:*:*:*:*:*:*:*:*
Vendors & Products Coderider-kilo
Coderider-kilo coderider
Type Values Removed Values Added
First Time appeared Coderider
Coderider coderider-kilo
Vendors & Products Coderider
Coderider coderider-kilo
Type Values Removed Values Added
Title OS Command Injection in CodeRider‑Kilo Auto‑Approval Module Allows Remote Code Execution on Windows
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Title OS Command Injection in CodeRider‑Kilo Auto‑Approval Module Allows Remote Code Execution on Windows
Weaknesses CWE-78
Type Values Removed Values Added
Description The command auto-approval module in CodeRider-Kilo 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 CodeRider-Kilo 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
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 27, 2026, 8:22 PM
Reserved
Mar 4, 2026, 12:00 AM
Status
Analyzed
Published
Mar 27, 2026, 4:16 PM
Modified
Nov 11, 2026, 7:10 PM