CVE-2026-85674
JSON

8.5high

aider 0.86.2 Remote Code Execution via .aider.conf.yml

Severity
8.5high CVSS:4.0 by VulnCheck
Exploit likelihood
0.25% (higher than 10% of CVEs)
Published
Last changed
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).

Affected

Product or packageVersionsReported by
Aider-AI aiderup to 0.86.2CVE List

All scores

VulnCheck8.5high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-85674 changed 2026-09-10CVE Terms of Use
NVDCVE-2026-85674 changed 2026-09-10Public domain