CVE-2026-85674
highaider (aider-chat) automatically loads a .aider.conf.yml configuration file from the root of the git repository it is launched in.
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:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/Aider-AI/aider disclosure@vulncheck.com
- https://github.com/Aider-AI/aider/blob/v0.86.2/aider/main.py disclosure@vulncheck.com
- https://github.com/Aider-AI/aider/issues/5254 disclosure@vulncheck.com
- https://www.vulncheck.com/advisories/aider-0.86.2-remote-code-execution-via-aider-conf-yml disclosure@vulncheck.com
