Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege Aider credentials
-
DeliveryAccess Code Generation Workflow input surface
-
ExploitCraft SQL-injecting payload in user-controlled input
-
ExecutionSubmit to vulnerable database query handler
-
ImpactRead or manipulate Aider internal SQLite database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold low-privilege authenticated credentials to interact with the Aider instance - unauthenticated network exploitation is not indicated by the CVSS vector (PR:L). The vulnerable entry point is specifically the Code Generation Workflow component, so the attacker must be able to submit input through that workflow. Scope is unchanged (S:U), confining impact to Aider's own database rather than the underlying operating system or adjacent systems. Exploitation is limited by the authentication requirement and the constrained blast radius (C:L/I:L/A:L). Default or network-accessible Aider deployments where multiple users hold credentials are at highest risk. No special non-default configuration flag is identified as a prerequisite - the vulnerability appears to exist in standard use of the Code Generation Workflow in version 0.86.3. |
| Impact | The CVSS base score of 6.3 (Medium) reflects a network-exploitable, low-complexity attack requiring low-privilege authentication, with partial CIA impact (C:L/I:L/A:L) and unchanged scope. The temporal modifier E:P confirms a proof-of-concept exploit exists, and RL:X (not defined) signals no official remediation level has been established - consistent with the vendor's non-response. RC:R (reasonable confidence) indicates this is not yet fully vendor-confirmed. The vulnerability is not listed in the CISA KEV catalog, and no EPSS data was provided, so widespread automated exploitation is not confirmed. However, the combination of low attack complexity, publicly available POC, and no available patch elevates real-world priority above what the raw CVSS score alone suggests. The PR:L requirement is a meaningful constraint - unauthenticated exploitation is not indicated by available data. The partial CIA impact suggests blast radius is limited to Aider's internal database rather than full host compromise, but for developer workstations where Aider stores sensitive session or project context, data exposure is a realistic concern. CVSS vector and description are consistent; no conflicting signals identified. |
| Exploit ScenarioDerived | An attacker with low-privilege access to an Aider deployment crafts a malicious payload targeting the Code Generation Workflow, embedding SQL metacharacters that break out of the intended query context and inject attacker-controlled SQL commands. Leveraging the publicly available proof-of-concept from GitHub issue #5077, the attacker reads, alters, or corrupts Aider's internal SQLite database - potentially exfiltrating stored chat history, session tokens, or project context. No user interaction is required once the attacker has authenticated, making the attack straightforward to execute over a network. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 31, 2026
SQL injection in Aider-AI Aider 0.86.3's Code Generation Workflow component allows authenticated remote attackers with low privileges to manipulate internal SQL queries, resulting in partial compromise of confidentiality, integrity, and availability. A publicly available proof-of-concept exploit exists via GitHub issue #5077, raising near-term exploitation risk despite the medium CVSS score of 6.3. The vendor has not yet responded to the responsible disclosure and no patch has been released, leaving users without an official remediation path.
RemediationAI
No vendor-released patch is identified at time of analysis. The Aider-AI project has not responded to the responsible disclosure and no fixed version has been published. Users should monitor GitHub issue #5077 (https://github.com/Aider-AI/aider/issues/5077) and the repository (https://github.com/Aider-AI/aider/) for patch availability. As compensating controls, restrict Aider to local or trusted network use only and avoid exposing the Code Generation Workflow to untrusted or externally supplied input, since the attack vector is network-based (AV:N) with low complexity. Consider limiting which users hold even low-level credentials to Aider instances and auditing Aider's SQLite database files for unexpected or anomalous entries. Note that these controls reduce exposure but do not eliminate the underlying vulnerability - applying an official patch when released remains the definitive fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Aider is an open-source AI-powered pair programming CLI tool (aider-ai/aider) that integrates with large language models to assist developers in writing and editing code. It internally uses SQLite for persisting chat history, session context, and project data. The SQL injection vulnerability (CWE-89 - Improper Neutralization of Special Elements used in an SQL Command) is located in the Code Generation Workflow component, indicating that user-controlled input flowing through this workflow is concatenated into SQL statements without proper parameterization or escaping. The affected product is identified via CPE cpe:2.3:a:aider-ai:aider:*:*:*:*:*:*:*:*, with the wildcard version field suggesting the CPE does not bound the vulnerability to a specific narrow range - version 0.86.3 is the confirmed affected release per the VulDB report. The CVSS vector (AV:N/AC:L/PR:L/UI:N) confirms network-reachable exploitation with low attack complexity and no required user interaction.
Know when Aider gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A weakness has been identified in Aider-AI Aider 0.86.3. Affected by this issue is some unknown functionality of the component Code Generation Workflow. Executing a manipulation can lead to sql injection. The attack can be executed remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Local arbitrary command execution in Aider through 0.86.2 is possible when the CLI auto-loads a repository-supplied .aid
Arbitrary shell command execution in aider (aider-chat) is triggered silently when a user runs the tool inside a crafted
Protection mechanism failure in Aider-AI Aider 0.86.3 exposes git pre-commit hook bypass via manipulation of the `git-co
Code injection in Aider-AI Aider 0.86.3 Architect Mode enables authenticated remote attackers to execute arbitrary code
Server-side request forgery in Aider-AI Aider 0.86.3 allows authenticated remote attackers to make the application issue
Aider through 0.86.2 can execute shell commands and create files without a genuine user confirmation, because the confir
EUVD-2026-33496
GHSA-f9g4-qjmq-f49r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB