CVE-2026-10176: Aider-AI Aider SQL injection in Code Generation Workflow

CVE-2026-10176 · Severity: medium · CVSS 6.3 · Published 2026-05-31

Aider, an AI-powered pair programming tool, is vulnerable to a manipulation where it can be coerced into generating insecure code. By providing malicious "coding standards" or project guidance, an attacker can trick the AI into replacing secure database queries with versions that are vulnerable to SQL injection. This could lead to the creation of applications with critical security flaws that allow unauthorized data access or manipulation.

Technologies: Aider-AI Aider. Vendors: Aider-AI.

Quick answers

Is CVE-2026-10176 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-10176 being exploited in the wild.
How severe is CVE-2026-10176?
Medium severity, with a CVSS score of 6.3, published 31 May 2026.
Which products and versions are affected?
Aider-AI Aider 0.86.3.
Is there a fix for CVE-2026-10176?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-10176 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-10176?
Check whether you run Aider-AI Aider at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

Aider-AI Aider 0.86.3 is susceptible to a prompt-based manipulation within its code generation workflow. An attacker can provide malicious project guidance or "team coding standards" that instruct the AI to favor unsafe string formatting over secure parameterized SQL queries. In validated tests, the AI initially produced safe code but subsequently rewrote it into vulnerable SQL patterns (CWE-89) after accepting the malicious guidance. This behavior results in the generation and potential commitment of code containing SQL injection vulnerabilities. The issue is tracked as a failure to resist guidance that downgrades security controls during the LLM-driven development process.

Affected products

  • Aider-AI Aider 0.86.3

Timeline

  • 2026-04-26: disclosed: Issue reported on GitHub repository
  • 2026-05-31: advisory: CVE published via VulDB/NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.