Enviar #819909: paul-gauthier aider 0.86.3 Code Injectioninformación

Títulopaul-gauthier aider 0.86.3 Code Injection
DescripciónA 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.
Fuente⚠️ https://github.com/Aider-AI/aider/issues/5058
Usuario
 tchen200311 (UID 97733)
Sumisión2026-05-06 02:38 (hace 29 días)
Moderación2026-05-30 18:21 (25 days later)
EstadoAceptado
Entrada de VulDB367456 [Aider-AI Aider 0.86.3 Architect Mode auth.py editor_coder.run escalada de privilegios]
Puntos20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!