CVE-2026-10176

Aider could generate unsafe SQL after accepting poisoned project guidance

Aider-AI · Aider

First documented disclosure · Review checkpoint

Summary

The researcher induced Aider to replace parameterized SQL with interpolated SQL and reuse that pattern in another function.

Severity and exploitation evidence

Medium · 5.3/10 · CVSS 4.0. Severity source.

Exploitation not established: Controlled researcher report only. No malicious deployment, affected victim or in-the-wild exploitation is established by these sources.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

Malicious project guidance supplied unsafe implementation instructions that influenced code generation.

Conditions required

Attacker-supplied project guidance accepted during SQL code generation.

Potential impact

A downstream application may be vulnerable if the generated SQL code is accepted and deployed. No live database exploitation was demonstrated.

Affected versions and configurations

CNA lists 0.86.3. The original retest identifies 0.86.3.dev19+g861a1e4d1; the development-build/stable-version discrepancy remains.

Fix and mitigation status

Unknown; no released issue-specific correction established by the reviewed originals or CNA.

Practical next steps

Reject unsafe generated SQL, enforce parameter binding through code review and tests, and treat repository guidance as untrusted input.

Operating lesson

Insecure generated code is a distinct outcome from successful exploitation of a running application.

Evidence and limits

Original GitHub issue creation establishes the April disclosure date, preceding the May 31 CNA. Generated code weakness; no exploited running database demonstrated. A June 13 comment questions enforcing this through prompts; no fix is shown. Severity is VulDB CNA CVSS 4.0, not an independent reassessment. AgentLens references this report as part of its research corpus; that does not make it a separate victim incident.

Related records can include laboratory demonstrations; a relationship does not itself establish exploitation.

Sources