[BUG] Claude Code ignores "No" permission responses and executes bash commands anyway
Resolved 💬 5 comments Opened Mar 28, 2026 by s0564704 Closed May 7, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When Claude Code asks for permission to run a bash command and the user selects No, it executes the command anyway, then immediately asks for permission for the next command — completely ignoring the denial.
This repeats in a loop. The only way to stop it was to force-quit with Ctrl+D.
What Should Happen?
Selecting "No" should deny execution and stop or reconsider the current task.
Error Messages/Logs
Steps to Reproduce
Not figured out yet
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.86
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
<img width="1098" height="152" alt="Image" src="https://github.com/user-attachments/assets/078d2d2c-ec13-4f45-a2c8-496edee2a214" />
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗