# CVE-2026-85674: aider 0.86.2 Remote Code Execution via .aider.conf.yml

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 10% of CVEs (2026-11-30)
- Published: 2026-09-04T14:32:28.178Z
- Modified: 2026-09-10T16:18:00.780Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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).

(As written by CVE List.)

## Affected

- Aider-AI aider: up to 0.86.2

## Every score

- VulnCheck: CVSS:4.0 8.5 High `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Aider-AI/aider/issues/5254> (issue-tracking)
- <https://github.com/Aider-AI/aider> (product)
- <https://github.com/Aider-AI/aider/blob/v0.86.2/aider/main.py> (technical-description)
- <https://www.vulncheck.com/advisories/aider-0.86.2-remote-code-execution-via-aider-conf-yml> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-85674](https://www.cve.org/CVERecord?id=CVE-2026-85674), CVE Terms of Use, modified 2026-09-10
- NVD: [CVE-2026-85674](https://nvd.nist.gov/vuln/detail/CVE-2026-85674), Public domain, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-85674 · Whole record: https://cve.day/CVE-2026-85674.json · Rebuilt by cve.day 2026-11-25T22:59:36.300Z
