RCE in Aider-Ai Aider
CVE-2026-85674
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).
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.002 (15.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 15th percentile — 15.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.001
Affected products
Weakness classification (CWE)
References
- github.com/Aider-AI/aider (product)
- github.com/Aider-AI/aider/blob/v0.86.2/aider/main.py (technical-description)
- github.com/Aider-AI/aider/issues/5254 (issue-tracking)
- www.vulncheck.com/advisories/aider-0.86.2-remote-code-execution-via-aider-conf-… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-85674?
- CVE-2026-85674 is a high-severity vulnerability in Aider-Ai Aider, classified under Code Injection. CVSS score: 7.8/10. Published 2026-09-04.
- How severe is CVE-2026-85674?
- High severity. CVSS v3 base score is 7.8 out of 10.