CVE-2026-7157 disler aider-mcp-server aider_ai_code server.py command injection

Medium 6.9 Published Updated

Remote attackers can execute arbitrary commands via the relative_editable_files argument in the aider-mcp-server library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-7157?

CVE-2026-7157 is a medium-severity command injection vulnerability in disler aider-mcp-server, published on 27 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw has been found in disler aider-mcp-server up to b2516fa466d0d851932da92ee6d0e66946db9efc. Affected by this vulnerability is an unknown functionality of the file src/aider_mcp_server/server.py of the component aider_ai_code. This manipulation of the argument relative_editable_files causes command injection. Remote exploitation of the attack is possible. The exploit has been published and may be used. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided. The project was informed of the problem early through an issue report but has not responded yet.

Weakness: CWE-77, CWE-74

Which versions are affected by CVE-2026-7157?

How do I fix CVE-2026-7157?

No fix has been published for CVE-2026-7157 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-7157 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7157 exists.

Sources

Also known as GHSA-cqv7-q5jh-6mfp.

Is CVE-2026-7157 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free