CVE-2026-85674
8.5high
aider 0.86.2 Remote Code Execution via .aider.conf.yml
- Severity
- 8.5high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.25% (higher than 10% of CVEs)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
aider (aider-chat) automatically loads a .aider.conf.yml configuration file from the root of the git repository it is launched in. A crafted repository can set test-cmd (executed at startup) or lint-cmd (executed on the first file edit), which aider runs through a shell (subprocess with shell=True) without any user confirmation, LLM interaction, or API key. Consequently, a user who clones and runs aider inside an attacker-supplied repository achieves arbitrary command execution on their machine. The behavior is long-standing and was confirmed on 0.86.3.dev (current main).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Aider-AI aider | up to 0.86.2 | CVE List |
All scores
| VulnCheck | 8.5high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
| https://github.com/Aider-AI/aider/issues/5254 | issue-tracking | |
| https://github.com/Aider-AI/aider | product | |
| https://github.com/Aider-AI/aider/blob/v0.86.2/aider/main.py | technical-description | |
| https://www.vulncheck.com/advisories/aider-0.86.2-remote-code-execution-via-aider-conf-yml | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-85674 changed 2026-09-10 | CVE Terms of Use |
| NVD | CVE-2026-85674 changed 2026-09-10 | Public domain |