إرسال #1077442: Aider-AI Aider 0.86.2 Protection Mechanism Failureالمعلومات

عنوانAider-AI Aider 0.86.2 Protection Mechanism Failure
الوصفAider 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.
المصدر⚠️ https://github.com/Aider-AI/aider/issues/5955
المستخدم
 EM11 (UID 102789)
ارسال06/11/2026 08:22 AM (23 أيام منذ)
الاعتدال29/11/2026 04:01 PM (23 days later)
الحالةتمت الموافقة
إدخال VulDB445189 [Aider-AI Aider حتى 0.86.2 Shell Command Confirmation aider/io.py confirm_ask تجاوز الصلاحيات]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!