High severity · published Sep 4, 2026
CVE-2026-85674
aider 0.86.2 Remote Code Execution via .aider.conf.yml
7.8
CVSS
0.2%
EPSS
No
On KEV
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).
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 16% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AI
aider · Aider-AI
through 0.86.2 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-85674
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-85674
github.com
https://github.com/Aider-AI/aider
github.com
https://github.com/Aider-AI/aider/blob/v0.86.2/aider/main.py
github.com
https://github.com/Aider-AI/aider/issues/5254
www.vulncheck.com
https://www.vulncheck.com/advisories/aider-0.86.2-remote-code-execution-via-aider-conf-yml
More from aider
7.8
CVE-2026-115726
Aider through 0.86.2 Command Execution via Repository .aider.conf.yml Settings
6.3
CVE-2026-10177
Aider-AI Aider AWS EC2 Metadata Endpoint api_docs.py requests.get server-side request forgery
6.3
CVE-2026-10176
Aider-AI Aider Code Generation Workflow sql injection
6.3
CVE-2026-10175
Aider-AI Aider Architect Mode auth.py editor_coder.run code injection
6.3
CVE-2026-10174
Aider-AI Aider Pre-commit Hook args.py protection mechanism
