Skip to content

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

HighCVSS 8.5 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi aider-chat <= 0.86.2 after 0.86.2 Fixed

Affected products

ProductAffected versionsFixed in
pypi aider-chat <= 0.86.2 No fix listed

References