Submit #1077442: Aider-AI Aider 0.86.2 Protection Mechanism Failureinfo

TitelAider-AI Aider 0.86.2 Protection Mechanism Failure
BeschreibungAider up to version 0.86.2 can execute a model-suggested shell command without the user's confirmation when standard input is closed, which may lead to command execution on the host running Aider. The confirmation handler treats an end-of-file condition on standard input as the default answer, and the default answer for the shell-command prompt is yes, so a non-interactive run that never passed --yes-always still approves the command. The same fallback applies to the other confirmations whose default answer is yes, including edits to files that were not added to the chat and creation of new files. An attacker who can steer the model, for example through content the model is asked to inspect, can cause the command to be suggested; the closed or non-terminal input channel then approves it without any interaction. The issue was verified with the real CLI: with an explicit no on standard input the command was not executed, with standard input closed the same command executed and created a file, and a second explicit-no run confirmed that the gate works when input is present. The process exits normally and no warning about the skipped confirmation is shown.
Quelle⚠️ https://github.com/Aider-AI/aider/issues/5955
Benutzer
 EM11 (UID 102789)
Einreichung06.11.2026 08:22 (vor 23 Tagen)
Moderieren29.11.2026 16:01 (23 days later)
StatusAkzeptiert
VulDB Eintrag445189 [Aider-AI Aider bis 0.86.2 Shell Command Confirmation aider/io.py confirm_ask erweiterte Rechte]
Punkte20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!