aider 0.86.2 Remote Code Execution via .aider.conf.yml
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
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).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-85674
- 2026-10-03 Alias added: GHSA-h3gc-qfjg-2m69
References
More Aider-AI vulnerabilities
- TI-2026-79730 Command injection in Aider via malicious .aider.conf.yml CVSS 4.0HIGH 8.5
- TI-2026-08915 Aider-AI Aider AWS EC2 Metadata Endpoint api_docs.py requests.get server-side request forgery CVSS 4.0MEDIUM 5.3
- TI-2026-08912 Aider-AI Aider Pre-commit Hook args.py protection mechanism CVSS 4.0MEDIUM 5.3
- TI-2026-08913 Aider-AI Aider Architect Mode auth.py editor_coder.run code injection CVSS 4.0MEDIUM 5.3
- TI-2026-08914 Aider-AI Aider Code Generation Workflow sql injection CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-85674 · CVE Program
- CVE-2026-85674 · NVD
- FIRST EPSS
- GHSA-h3gc-qfjg-2m69 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences