Command injection in Aider via malicious .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-78.
Summary
Aider through 0.86.2 runs shell commands taken from a repository's .aider.conf.yml file. The tool loads this file automatically without a trust prompt and passes its notifications-command or editor values to a shell (CWE-78). An attacker who commits a malicious file can run commands with the privileges of a victim who uses Aider in that repository.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
Aider through 0.86.2 contains a command execution vulnerability that allows attackers to run shell commands by committing a malicious .aider.conf.yml that is auto-loaded without a trust prompt. Attackers can set notifications-command or editor values that are executed via subprocess with shell=True after model replies or /editor use, running commands with the victim's privileges.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- 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
The sources list no fixed version for Aider.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Timeline
- 2026-10-23 Threatist record created from CVE-2026-115726
- 2026-10-23 Alias added: GHSA-qf42-jvf7-pgg2
- 2026-10-24 Priority changed: MEDIUM → LOW
- 2026-10-29 CISA SSVC decision points changed
- 2026-10-29 Priority changed: LOW → HIGH
References
More Aider-AI vulnerabilities
- 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-58786 aider 0.86.2 Remote Code Execution via .aider.conf.yml CVSS 4.0HIGH 8.5
- 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-115726 · CVE Program
- CVE-2026-115726 · NVD
- FIRST EPSS
- GHSA-qf42-jvf7-pgg2 · 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