Skip to main content

Aider EUVDEUVD-2026-137981

| CVE-2026-138386 LOW
Protection Mechanism Failure (CWE-693)
2026-11-30 VulDB GHSA-xr6g-98cg-hg2w
0.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Local access to running Aider session
  2. Delivery
    Trigger effect-gating confirmation prompt
  3. Exploit
    Supply EOF or empty input
  4. Execution
    confirm_ask returns affirmative default
  5. Impact
    Unapproved shell command or file write executes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
Exploitation Conditions

Requires local access with a user running Aider up to 0.86.2 (PR:L, AV:L). The affected path is an effect-gating confirmation prompt in confirm_ask (explicit_yes_required prompts such as the Shell Command Confirmation Handler and 'Create new file?'), where the pre-fix code treated EOF (Ctrl+D) and an empty Enter as the prompt's default, and those prompts were invoked with an affirmative default rather than default="n". Exploitation therefore depends on the input stream reaching the prompt and delivering EOF or a blank line (UI:P). Limiting factors that reduce realistic risk: it is local-only, not network-reachable; it requires an already-running Aider session under the victim's account; and it only bypasses confirmation under the specific empty/EOF input condition rather than on any arbitrary input.

Impact

This is a low-priority issue, and the signals agree. The input CVSS 4.0 score is 2.4 (Low) with a local vector (AV:L), low privileges (PR:L), and passive user interaction (UI:P), and vuln.today assigns a 'monitor' decision label - not act_now or emergency. There is no CISA KEV listing and no EPSS score was provided, so there is no evidence of active or widespread exploitation; the only exploitation signal is a public PoC reference (GitHub issue #5955) that is not verified as working exploit code. The underlying flaw (CWE-693, protection mechanism failure) is a confirmation-bypass in a developer CLI tool rather than a remotely reachable service bug, which caps real-world urgency. Note two data conflicts to verify: the summary line says 'Patch: Available from vendor' while the description says the fix pull request 'awaits acceptance' - the source diff for PR #5957 exists but shows no merged/released fixed version; and EPSS is absent, so probabilistic exploitation likelihood cannot be compared against the other signals.

Exploit ScenarioDerived

While a user runs Aider (≤0.86.2) locally, the tool reaches an effect-gating confirmation prompt (such as 'Run shell command?' or 'Create new file?') that was invoked with an affirmative default; if the input stream delivers EOF (Ctrl+D) or an empty Enter, the vulnerable confirm_ask treats it as the default 'yes' and the guarded shell command or file write proceeds without explicit approval. A public PoC reference exists (GitHub issue #5955) but it is not verified as working exploit code. Exploitation is local and depends on this specific edge-case input condition, consistent with AV:L/UI:P.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 30, 2026

Aider through 0.86.2 can execute shell commands and create files without a genuine user confirmation, because the confirmation gate in aider/io.py falls back to the prompt's default answer when stdin delivers EOF (Ctrl+D) or an empty line and the callers supplied an affirmative default. The flaw is local-only and requires a running Aider session under the victim's account, with the input stream reaching the prompt and then closing or submitting blank; it only bypasses confirmation under that specific input condition, not on arbitrary input. A public issue reference (#5955) describes the behavior but a public PoC reference exists; it is not verified as working exploit code, the CVSS 4.0 score is 2.4 (assessed as CVSS 3.1 local/low with user interaction), and the project's priority decision is monitor.

RemediationAI

The complete fix is upgrading Aider past 0.86.2 once a release contains the change in pull request https://github.com/Aider-AI/aider/pull/5957, which makes confirm_ask return "n" for EOF and empty input on explicit_yes_required prompts and switches the shell-command and file-creation call sites to default="n"; at the time of analysis that PR awaits acceptance, so the upstream fix is available as a PR/commit and a released patched version is not independently confirmed. Until then, the practical compensating control follows directly from the trigger: do not run Aider in a way that lets stdin reach a confirmation prompt in a closed or blank state - avoid piping input, redirecting from /dev/null, or backgrounding/automating the CLI so that Ctrl+D or an empty Enter lands on 'Create new file?' or the shell command prompt; the trade-off is that non-interactive scripting and unattended runs must be dropped or wrapped so the prompt is answered explicitly. Running Aider only under an account whose shell access is already trusted limits what the bypassed confirmation can reach, at the cost of not addressing the prompt weakness itself. Note that the empty/EOF path also means a user who habitually presses Enter at these prompts will approve the action, so answer these prompts explicitly rather than accepting the default.

Affected VersionsENISA

Aider 0.86.0
Aider 0.86.1
Aider 0.86.2

Affected Packages

euvd aider no fix

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's interactive layer implements confirm_ask() in aider/io.py, which supports an explicit_yes_required mode intended to gate actions that have side effects - handle_shell_commands() in aider/coders/base_coder.py (the Shell Command Confirmation Handler) and the 'Create new file?' prompt in allowed_to_edit(). The root cause class is CWE-693, Protection Mechanism Failure: the prompt existed but its guarantee was not upheld. In the pre-fix code, when input() raised EOFError or the user submitted an empty line, confirm_ask() assigned res = default and returned it, and the effect-gating call sites either omitted the default or passed an affirmative one, so a closed or blank stdin behaved as an explicit 'yes'. The proposed patch (PR #5957) changes two things: confirm_ask() returns "n" for EOF and for empty input whenever explicit_yes_required is set (while non-gating prompts keep the previous 'treat EOF like Enter' behavior), and the shell-command and file-creation call sites now pass default="n". Regression tests added in tests/basic/test_io.py cover EOF with default="y" plus explicit_yes_required (must be False), EOF on a non-gating prompt (still True), empty Enter on a gating prompt (False), and an explicit 'y' (True). The CPE cpe:2.3:a:aider-ai:aider:*:*:*:*:*:*:*:* with a wildcard version marks the whole product line as in scope, with 0.86.2 named as the last affected version; the trigger requires the local interactive session and the specific EOF/empty-input condition.

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

Vendor (VulDB) PRIMARY 0.9 LOW
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.8 MEDIUM

Local CLI running as the user (AV:L, PR:L); bypass fires only under an EOF/empty-input edge on a confirmation prompt (UI:R), yielding limited C/I/A impact from an unapproved action.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 30, 2026 - 05:22 NVD
2.4 (LOW) 0.9 (LOW)
CVE Published
Nov 30, 2026 - 04:45 cve.org
LOW 2.4

DescriptionCVE.org

A security flaw has been discovered in Aider-AI Aider up to 0.86.2. The impacted element is the function confirm_ask of the file aider/io.py of the component Shell Command Confirmation Handler. The manipulation results in protection mechanism failure. The attack needs to be approached locally. The exploit has been released to the public and may be used for attacks. The pull request to fix this issue awaits acceptance.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
popular open-source AI coding CLI, developer-only footprint
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +4
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy