What happened
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).
Why it matters
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.
Attack vector
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).
Affected systems
Aider-AI Aider <= 0.86.2
Mitigation
Upgrade to the patched Aider release that fixes the confirmation handler.