Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker crafts malicious .aider.conf.yml with test-cmd payload
-
DeliveryPublishes or shares attacker-controlled git repository
-
ExploitVictim clones repository to local machine
-
InstallVictim runs aider inside repository directory
-
C2aider auto-loads config without user prompt
-
ExecuteShell executes test-cmd payload as victim user
-
ImpactAttacker achieves arbitrary code execution on developer workstation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The victim must clone a repository controlled by the attacker and then run aider from within that repository's directory. A |
| Impact | The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P, score 8.5) correctly classifies this as a local-vector, passive-user-interaction attack, which meaningfully constrains the threat model relative to a fully remote unauthenticated flaw. Real-world risk is nonetheless high for developer-focused environments: the attack workflow - clone a repository, run a tool inside it - is a near-daily developer habit, and aider is specifically designed to be run inside cloned repositories. Even a mid-sized municipal IT team in koszalin that has adopted aider for developer productivity should treat this as urgent given the potential for workstation compromise and subsequent credential theft. No EPSS score is present in the input data, and the vulnerability does not appear in CISA KEV, so widespread active exploitation is not confirmed; however, the attack mechanism is fully documented in a public GitHub issue, lowering the barrier to exploitation significantly. The absence of a vendor patch as of the current main branch means the exposure window is open-ended. Under the SSVC framework: exploitation status is 'proof of concept' (mechanism publicly detailed), automatable is 'no' (requires victim to clone and run), and technical impact is 'total' on the victim's workstation. The high C/I/A impact on the local system is well-supported - arbitrary shell execution implies complete compromise of the developer's credentials, keys, and local data. |
| Exploit ScenarioDerived | An attacker publishes a public git repository containing a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Arbitrary shell command execution in aider (aider-chat) is triggered silently when a user runs the tool inside a crafted git repository containing a malicious .aider.conf.yml configuration file. The tool unconditionally reads this file at startup and passes test-cmd and lint-cmd values directly to Python's subprocess with shell=True, with no user confirmation, no LLM involvement, and no API key required. Confirmed present on version 0.86.2 and the 0.86.3.dev main branch per the VulnCheck advisory; no vendor-released patch has been identified at time of analysis, and no public exploit code has been identified beyond the mechanism documented in the public GitHub issue.
RemediationAI
No vendor-released patch has been identified at time of analysis; monitor the upstream issue at https://github.com/Aider-AI/aider/issues/5254 and the main repository at https://github.com/Aider-AI/aider for a fix. The primary compensating control is to restrict aider use exclusively to repositories under organizational or personal control and to avoid running aider inside any cloned external or third-party repository. Organizations using aider in CI/CD pipelines should enforce repository allowlisting at the pipeline level, ensuring aider only executes within repositories whose full commit history and configuration files have been reviewed. Developers who must evaluate external repositories can manually inspect the .aider.conf.yml file at the repository root for the presence of test-cmd or lint-cmd keys before launching aider - this is a manual discipline-dependent control, not an automated safeguard. Running aider in an isolated container or sandbox (e.g., Docker with no credential mounts) reduces the blast radius of exploitation but requires pipeline redesign. A vendor fix should require explicit user confirmation before executing any shell command sourced from a configuration file, or should restrict these keys to a strict allowlist of safe characters.
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 AI-assisted pair-programming CLI tool (CPE: cpe:2.3:a:aider-ai:aider:*:*:*:*:*:*:*:*) that operates on local git repositories, reading and modifying source files at a developer's direction. By design, aider discovers and parses a .aider.conf.yml file at the repository root to apply per-project settings. Two configuration keys are security-sensitive: test-cmd, which aider executes at startup, and lint-cmd, which executes on the first file edit. Both are passed verbatim to Python's subprocess.run() or equivalent with shell=True, meaning the operating system shell interprets the value - including metacharacters, pipes, and command substitutions. CWE-94 (Improper Control of Generation of Code) accurately identifies the root cause: attacker-controlled string data from a configuration file reaches a shell execution sink without sanitization, allowlisting, or interactive user approval. The attack is entirely pre-LLM in the execution chain, requiring no network connectivity to Anthropic or any AI provider.
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:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AV:L because victim must locally run aider in the cloned directory; UI:R for the required clone-and-run action; PR:N as attacker only needs a hosted repository; full C/I/A from arbitrary shell execution.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
aider (aider-chat) automatically loads a .aider.conf.yml configuration file from the root of the git repository it is launched in. A crafted repository can set test-cmd (executed at startup) or lint-cmd (executed on the first file edit), which aider runs through a shell (subprocess with shell=True) without any user confirmation, LLM interaction, or API key. Consequently, a user who clones and runs aider inside an attacker-supplied repository achieves arbitrary command execution on their machine. The behavior is long-standing and was confirmed on 0.86.3.dev (current main).
Executive ViewAI
aider-chat, a development assistant tool, executes arbitrary shell commands silently when developers run it in a repository containing a malicious configuration file, creating direct supply-chain compromise risk for development teams. An attacker who poisons a public or internal repository with a crafted .aider.conf.yml file can compromise the environments of any developer who uses aider on that codebase.
No vendor-released patch identified at time of analysis. Interim mitigations include: (1) restrict aider usage to trusted internal repositories with strict change control; (2) mandate manual inspection and approval of .aider.conf.yml files before any developer runs aider on a new project; (3) execute aider in containerized or virtualized environments to contain command execution blast radius; (4) implement file integrity monitoring for .aider.conf.yml across repositories; (5) monitor command execution logs and developer machine activity for suspicious aider-spawned processes; (6) consider blocking aider from development pipeline until patch availability is confirmed.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Local arbitrary command execution in Aider through 0.86.2 is possible when the CLI auto-loads a repository-supplied .aid
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
SQL injection in Aider-AI Aider 0.86.3's Code Generation Workflow component allows authenticated remote attackers with l
Aider through 0.86.2 can execute shell commands and create files without a genuine user confirmation, because the confir
EUVD-2026-71130
GHSA-h3gc-qfjg-2m69
NVD
CVE.org
EPSS
Exploit-DB