Vulnerability  ·  2026-12-01

Aider confirm_ask shell command confirmation protection mechanism failure (local)

VulnerabilityMedium impactGlobalCVE-2026-138386
Before the fix, Aider's confirm_ask handler in the shell-command confirmation path would fail to securely enforce approval (CWE-636), letting a command the agent proposes run without the expected confirmation (CVSS 4.8, local).
For an AI coding agent, the shell-command confirmation is the last human gate before the model executes arbitrary commands on the developer machine; its failure can let a prompt-injected agent run commands the developer believes they approved.
The confirm_ask function in aider/io.py, part of the Shell Command Confirmation Handler, results in a protection mechanism failure (CWE-636/not-failing-securely) so a crafted command can bypass the user-approval gate when the agent is about to run a shell command (local attack).
Aider-AI Aider <= 0.86.2
Upgrade to the patched Aider release that fixes the confirmation handler.
NVD CVE-2026-138386Aider-AI/aider
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →