Read the docs

Protection mechanism failure in Aider shell command confirmation

Priority MEDIUM 46CWE-693Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Security bypass
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-693.

Summary

Aider-AI Aider up to and including 0.86.2 contains a protection mechanism failure (CWE-693) in the confirm_ask function of aider/io.py, which handles shell command confirmation. A local attacker with low privileges and user interaction can bypass the confirmation protection. A public exploit has been released.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00137 1st percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Aider-AIAider0.86.0; 0.86.1; 0.86.2—No fix listedCNA
  • Aider VendorAider-AI Affected 0.86.0; 0.86.1; 0.86.2 Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:aider-ai:aider:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:aider-ai:aider:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

The sources list no fixed version for Aider. A pull request to fix this issue is awaiting acceptance.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-138386
  2. 2026-11-30 Alias added: GHSA-xr6g-98cg-hg2w
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2026-79730 Command injection in Aider via malicious .aider.conf.yml CVSS 4.0HIGH 8.5
  • TI-2026-08915 Aider-AI Aider AWS EC2 Metadata Endpoint api_docs.py requests.get server-side request forgery CVSS 4.0MEDIUM 5.3
  • TI-2026-08912 Aider-AI Aider Pre-commit Hook args.py protection mechanism CVSS 4.0MEDIUM 5.3
  • TI-2026-58786 aider 0.86.2 Remote Code Execution via .aider.conf.yml CVSS 4.0HIGH 8.5
  • TI-2026-08914 Aider-AI Aider Code Generation Workflow sql injection CVSS 4.0MEDIUM 5.3
  • TI-2026-08913 Aider-AI Aider Architect Mode auth.py editor_coder.run code injection CVSS 4.0MEDIUM 5.3

Sources