Skip to content
HighVulnerability

CVE-2026-85674: aider auto-loaded config file runs commands from cloned repository

Identifier
CVE-2026-85674
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

aider (aider-chat) automatically loads a .aider.conf.yml file from the root of the git repository it is launched in. A crafted repository can set test-cmd, which runs at startup, or lint-cmd, which runs on the first file edit, both through a shell with shell=True and without any user confirmation. Cloning and running aider inside an attacker-supplied repository therefore gives arbitrary command execution, and the behavior was confirmed on 0.86.3.dev (current main).

Mitigation

The source does not state a fix yet. Check the original advisory for updates.