Submit #819910: paul-gauthier Aider 0.86.3 Code Injectioninfo

Titlepaul-gauthier Aider 0.86.3 Code Injection
DescriptionAider v0.86.3 is vulnerable to a code generation integrity issue where it displaces safe coding patterns when presented with attacker‑supplied project guidance. In a verified test, Aider initially generated a safe parameterized SQL query. After accepting a malicious “team coding standard” that required string‑formatted SQL (e.g., f"SELECT * FROM users WHERE name LIKE '%{query}%'"), Aider rewrote the safe parameterized query into an unsafe string‑formatted one and subsequently applied the same insecure pattern to a new login function. The final generated code contained SQL injection vulnerabilities that were committed without warning. A remote attacker who can introduce fake coding standards (e.g., via repository content or configuration files) can induce Aider to systematically downgrade application security.
Source⚠️ https://github.com/Aider-AI/aider/issues/5077
User
 tchen200311 (UID 97733)
Submission05/06/2026 02:41 (3 months ago)
Moderation05/30/2026 18:21 (25 days later)
StatusAccepted
VulDB entry367457 [Aider-AI Aider 0.86.3 Code Generation Workflow sql injection]
Points20

Do you know our Splunk app?

Download it now for free!