Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Aider-AI aider
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Aider AI aider是美国Aider AI组织的一款命令行AI编程助手。 Aider AI aider 0.86.2及之前版本存在代码注入漏洞,该漏洞源于从Git仓库根目录自动加载.aider.conf.yml配置文件,特制仓库可设置test-cmd或lint-cmd并通过shell执行,可能导致用户克隆并运行aider时能够执行任意命令。

CVSS 7.8 · High EPSS 0.25% · P15

Possible ATT&CK Techniques 1 AI

T1059.001 · PowerShell

Affected Version Matrix 1

VendorProduct Version RangeStatus
Aider-AI aider ≤ 0.86.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-85674

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
aider 0.86.2 Remote Code Execution via .aider.conf.yml
Source: CVE Program / CVE List V5
Vulnerability 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).
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Aider AI aider 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Aider AI aider是美国Aider AI组织的一款命令行AI编程助手。 Aider AI aider 0.86.2及之前版本存在代码注入漏洞,该漏洞源于从Git仓库根目录自动加载.aider.conf.yml配置文件,特制仓库可设置test-cmd或lint-cmd并通过shell执行,可能导致用户克隆并运行aider时能够执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Aider-AI aider 0 ~ 0.86.2 -

II. Public POCs for CVE-2026-85674

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-85674

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-85674 (1)

Proof of Concept for CVE-2026-85674 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-85674

No comments yet


Leave a comment