CVE-2026-85674
published high CVSS 4.0 · 8.5aider 0.86.2 Remote Code Execution via .aider.conf.yml
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Aider-AI | — | aider0 through 0.86.2 · Other versions: unaffected | Affected | Not stated | 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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Aider-AI | aider | 0 through 0.86.2 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
4- https://github.com/Aider-AI/aider
- https://github.com/Aider-AI/aider/blob/v0.86.2/aider/main.py
- GitHub Issue #5254 https://github.com/Aider-AI/aider/issues/5254
- VulnCheck Advisory: aider 0.86.2 Remote Code Execution via .aider.conf.yml https://www.vulncheck.com/advisories/aider-0.86.2-remote-code-execution-via-aider-conf-yml
Provider assertions
2VulnCheck · cna
aider 0.86.2 Remote Code Execution via .aider.conf.yml
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5e6f57fc8cb0684c536588b66c224f43ec6aa150c5cb5441e81fa7c40562b77e
- Ingested
- 23 Sep 2026, 09:37:04 UTC
- Source record
- Official CVE record