Read the docs

Command injection in Aider via malicious .aider.conf.yml

Priority HIGH 72CWE-78Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00283 20th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
Aider-AIaiderup to 0.86.2—No fix listedCNA
  • aider VendorAider-AI Affected up to 0.86.2 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for Aider.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Timeline

  1. 2026-10-23 Threatist record created from CVE-2026-115726
  2. 2026-10-23 Alias added: GHSA-qf42-jvf7-pgg2
  3. 2026-10-24 Priority changed: MEDIUM → LOW
  4. 2026-10-29 CISA SSVC decision points changed
  5. 2026-10-29 Priority changed: LOW → HIGH

References

  • 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