提交 #819909: paul-gauthier aider 0.86.3 Code Injection信息

标题paul-gauthier aider 0.86.3 Code Injection
描述A prompt injection vulnerability exists in Aider v0.86.3 architect mode. The architect model's output is passed directly to the editor model via editor_coder.run(with_message=content, preproc=False), bypassing the normal preproc_user_input() layer that processes slash commands, file mentions, and URL preprocessing. This allows an attacker to embed a malicious instruction (e.g., "ARCHITECT OVERRIDE") inside repository content such as README.md. When the architect mode reads this poisoned file, the architect model emits attacker‑controlled code, which the editor model then applies to source files without further validation. In a verified attack, the editor injected a backdoor into auth.py that read the local .env file, base64‑encoded its contents, and sent them to an attacker‑controlled endpoint, after which Aider committed the backdoored file automatically. The vulnerability results in remote code execution and sensitive data exfiltration.
来源⚠️ https://github.com/Aider-AI/aider/issues/5058
用户
 tchen200311 (UID 97733)
提交2026-05-06 02時38分 (30 日前)
管理2026-05-30 18時21分 (25 days later)
状态已接受
VulDB条目367456 [Aider-AI Aider 0.86.3 Architect Mode auth.py editor_coder.run 权限提升]
积分20

Do you want to use VulDB in your project?

Use the official API to access entries easily!