CVE-2026-7316 Details
Description
A vulnerability has been found in eiliyaabedini aider-mcp up to 667b914301aada695aab0e46d1fb3a7d5e32c8af. Affected is an unknown function of the file aider_mcp.py of the component code_with_ai. The manipulation of the argument working_dir/editable_files leads to command injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. This product uses a rolling release model to deliver continuous updates. As a result, specific version information for affected or updated releases is not available. The project was informed of the problem early through an issue report but has not responded yet.
A command injection vulnerability has been identified in the Aider-MCP project, specifically in the 'code_with_ai' tool. This issue affects the file 'aider_mcp.py' in the repository version up to commit '667b914'. The vulnerability arises because the 'working_dir' and 'editable_files' arguments are not properly sanitized, allowing attackers to inject arbitrary commands that are executed on the host system. The issue can be exploited remotely, and the injected commands are executed with the same privileges as the user running the Aider-MCP server.
It is recommended to replace the current method of executing commands as a shell string with an argument-array execution approach, which is safer and prevents command injection. Additionally, enforce a conservative allowlist for filenames in the 'editable_files' argument and add regression tests to ensure the vulnerability is addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 28, 2026CISA-ADP
Assessed Apr 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/eiliyaabedini/aider-mcp/ | [email protected] | ProductSource CodeVendor |
| https://github.com/eiliyaabedini/aider-mcp/issues/1 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://vuldb.com/submit/803082 | [email protected] | Permission Required |
| https://vuldb.com/vuln/359964 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/359964/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| eiliyaabedini aider-mcp | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 28, 2026 | New CVE Received | [email protected] |
Volerion