Claude Code sandboxed Bash commands now follow the normal permission flow
Claude Code 2.1.325 (November 13, 2026) changes what turning the sandbox on means for prompts.
What changed
Two changelog entries cover it. The first: sandboxed Bash commands now follow the normal permission flow by default. Setting sandbox.autoAllowBashIfSandboxed: true keeps them running without prompts.
The second covers managed settings. If managed settings turn the sandbox on, and you want commands to keep running without prompts, set sandbox.autoAllowBashIfSandboxed: true in your highest-ranking managed source.
In practice, a sandboxed command that no allow rule covers can now ask. Before, the sandbox alone was enough to skip the prompt.
Keeping the old behavior
Set the key under sandbox in settings:
{
"sandbox": {
"autoAllowBashIfSandboxed": true
}
}
The key path comes straight from the changelog. The changelog does not say which settings file to use for a personal setup. For managed deployments it names the highest-ranking managed source.
Related sandbox changes in 2.1.325
All from the same release:
- The sandbox refuses sandboxed writes to
.claudesettings, skills, agents, commands and hooks in added directories, as it already does in the launch folder. - Claude gets a note when a sandboxed
git checkout,git stashor autostash pull cannot update protected files such as those in.claude. - Programs the sandbox starts for its own use, such as its network bridge, run without Claude Code's sign-in tokens and API keys in their environment.
- Claude Code on the web, cloud scheduled tasks and Cowork cloud sessions start despite
sandbox.failIfUnavailable, because the hosted container has no command sandbox.
Sources: Claude Code changelog.