Claude Code 2.1.325: sandboxed Bash now asks, and unattended skills need an allow rule
Claude Code 2.1.325 makes sandboxed Bash commands follow the normal permission flow, and scheduled tasks now ask before running a skill with hooks.
Claude Code 2.1.325 landed on 13 November 2026 at 20:39 UTC, about 22 hours after 2.1.323, and it is a permission release in both directions: it closes several gaps where a command ran without the prompt you expected, and it adds prompts where setups currently run without any. The two changes to read before you upgrade are the sandboxed Bash default and the new question scheduled tasks ask before running a skill. At 139 bullets it is less than half the size of 2.1.323, which carried 294.
#Which changes can break a working setup?
Several. The table covers eleven of them. The sandbox rows and the scheduled-task row are the ones an unattended setup will notice first.
| Change | What the changelog says | Who should act |
|---|---|---|
| Sandboxed Bash commands | "Changed sandboxed Bash commands to follow the normal permission flow by default; set sandbox.autoAllowBashIfSandboxed: true to keep running them without prompts" | Anyone relying on the sandbox to run commands without prompts |
| The same, under managed settings | "Changed managed settings that turn the sandbox on: to keep commands running without prompts, set sandbox.autoAllowBashIfSandboxed: true in your highest-ranking managed source" | Administrators who turn the sandbox on centrally |
Skills in scheduled tasks and /loop | "Changed scheduled tasks and /loop to ask before running a skill that declares allowed-tools or hooks; add Skill(name) to permissions.allow to run it unattended" | Anyone with a scheduled task or loop that calls such a skill |
| Read-only git commands | "Changed read-only git commands to ask first in a repository that isn't the project's or one you trusted; name it with --add-dir, not the additionalDirectories setting, to run them without prompts" | Anyone whose sessions read a second repository |
| Marketplace pins | "Changed marketplace ref to accept the full ID of any commit on a branch or tag; clients before this version can't clone such a pin, so a marketplace pinned this way stops loading there" | Teams pinning a plugin marketplace to a commit |
| Plugin downloads behind a proxy | "Changed plugin marketplace and plugin downloads to use a CONNECT tunnel when ALL_PROXY is the only proxy set; a proxy that refuses CONNECT now fails them" | Networks that set only ALL_PROXY |
| Nested skills in plugins | "Changed nested skill loading: .claude/skills folders in --plugin-dir plugins no longer load from a session started above them; start Claude Code in the plugin folder instead" | Plugin authors testing skills from a parent folder |
| "Always allow" in hosts | "Changed "Always allow" in Desktop, IDE and SDK hosts: a rule alone is offered only when saving it would allow that command again, so a scheduled task that relied on one can now wait for you" | Anyone whose scheduled tasks relied on an "Always allow" approval |
| Sandbox helper programs | "Changed the programs that Claude Code's sandbox starts for its own use, such as its network bridge, to run without Claude Code's sign-in tokens and API keys in their environment" | Anyone with a hook or helper that read those from the environment |
| Local tools and the mTLS passphrase | "Changed ripgrep, local git commands and the sandbox runtime's own helper programs to run without the mTLS client key's passphrase in their environment" | Anyone with a git credential helper or hook that read the passphrase from the environment |
Hosted sessions and sandbox.failIfUnavailable | "Changed Claude Code on the web, cloud scheduled tasks and Cowork cloud sessions to start despite sandbox.failIfUnavailable: the hosted container has no command sandbox" | Anyone who set sandbox.failIfUnavailable to guarantee a sandbox in those sessions |
The sandbox default is the one to understand rather than just apply. The changelog does not describe the previous behaviour, but the name of the setting that restores it says plainly what it was: sandbox.autoAllowBashIfSandboxed, and the entry says setting it to true keeps commands "running them without prompts". So a session that currently runs sandboxed commands silently will start asking, and the fix is one key, in user settings or in your highest-ranking managed source depending on how the sandbox is turned on. Decide which you want before you upgrade, because the quiet version is no longer the default.
The scheduled-task change is the one that fails without anyone watching. A skill that declares allowed-tools or hooks now raises a question, and a question in an unattended run is a run that waits. Add Skill(name) to permissions.allow for each such skill first. The "Always allow" row removes the workaround you might reach for: those hosts now offer a rule alone only when saving it would allow that command again, "so a scheduled task that relied on one can now wait for you". If you run Claude Code on a schedule, our security hardening guide covers how allow, ask and deny rules compose.
The last row runs the other way from the rest. Each of the others makes something ask, fail or stop loading that used to run; this one lets sessions start that a setting used to stop. If you set sandbox.failIfUnavailable to guarantee a sandbox or no session, it will no longer stop web, cloud scheduled task or Cowork cloud sessions starting, because the hosted container has no command sandbox to guarantee.
#What does 2.1.325 fix in the permission system?
These are the vendor's own words for its own bugs, and each is a case where a check did not hold as written:
- "Fixed a gap in Bash permission checks where some compound commands could run without asking; these now ask for permission"
- "Fixed a case where a Bash allow rule could run a different program than the one it names"
- "Fixed some deny and ask rules not applying to certain Bash commands"
- "Fixed a case where a committed
.claude/settings.local.jsoncould be treated as the user's own when Claude Code was started in certain subfolders of a repository" - "Fixed deny rules not being applied to a permission approval that arrives after Claude Code restarts, in self-hosted runner and
claude remote-controlsessions" - "Fixed relative deny and ask permission rules (e.g.
Read(./.env)) no longer covering the project after acd; they now also apply in added directories" - "Fixed deny and ask permission rules starting with
mcp__plugin_*_missing a plugin's MCP server or tool spelled in another letter case" - "Fixed a case where the Bash sandbox did not fully protect a worktree's settings and hooks"
- "Fixed a case where the Bash sandbox did not fully protect a linked worktree's shared git folder"
- "Fixed sandboxed commands being able to write to the native updater's download folder in some cases"
- "Fixed a managed
strictPluginOnlyCustomizationlock on agents and skills not taking effect in sessions that were already running"
None of these is described as exploited, and the changelog attaches no advisory or severity to any of them. Read them as a list of places to stop trusting a rule you wrote before this release: a compound Bash command, a deny rule you expected to hold after a restart, a relative path rule after a cd, and an allow rule you assumed named the program it ran. The committed .claude/settings.local.json entry is the one worth checking by hand, because it concerns a file a repository can carry, and the folder you started Claude Code in decided whether it was treated as your own.
Two of the table's rows move credentials rather than prompts. The sandbox's own helper programs, "such as its network bridge", now run "without Claude Code's sign-in tokens and API keys in their environment", and ripgrep, local git commands and the sandbox runtime's helpers now run "without the mTLS client key's passphrase in their environment". A hook or credential helper that read either out of the environment there will stop finding it. Separately, the release "Fixed token counting on Amazon Bedrock sending the conversation to Bedrock when the allowedProviders managed setting does not allow it", which is conversation text reaching a provider that managed settings had excluded, and "Fixed background sessions started on your claude.ai login using (and billing) an API key or token from the shell that started the background service".
Want step-by-step guides for this and more?
ClawDocx Pro includes 500+ curated prompts, setup guides, SKILL.md files, and templates — everything to make your AI agent unstoppable.
See plans & pricing#What is the security fix, and what does the changelog say about it?
Very little, and that is worth stating plainly rather than filling in. The entire entry is "Fixed a security issue in how zstd-compressed responses are decoded". It is the first bullet in the release, ahead of everything else, and it carries no severity rating, no CVE identifier, no advisory link and no statement about whether the issue was found internally or reported. Nothing in the changelog says whether it was exploited. The entry is all the vendor's own release notes give, and no published advisory fills it in: the OSV database lists 30 advisories for the @anthropic-ai/claude-code package, none of which mentions zstd, and the newest of those was published on 9 November 2026, four days before this release. So there is nothing to assess here beyond taking the upgrade.
Three artifact fixes in the same release are about confirmations that did not appear, and they matter if your organization shares artifact pages outside itself. One "Fixed some subagents changing an artifact that people outside your organization can see, or uploading files to it, without asking first when an allow rule is set or uploads were approved earlier". The others close a publish that skipped its confirmation after "don't ask again" had been chosen, and an auto mode that judged only the first change to such an artifact.
#What changed for plugins, skills and MCP servers?
Plugin installation got more explicit about what a plugin is. The release "Improved the add-marketplace confirmations, plugin recommendation prompts and plugin install warning to say that plugins can run code on your computer, with access to your files and shell", and it "Changed plugin loading to skip, and claude plugin validate to report, some unsafe paths and links in a plugin's folder". If you are installing somebody else's skill or plugin, read our skill security audit first; ClawDocx does not vet or endorse third-party skills.
Most of the MCP changes are fixes, several of them to connections that got stuck. Among them: a server left needing authentication, with its mcp_tool hooks skipped, "after a token refresh that was refused only for a moment"; tool calls from an SDK host answering "Not connected" after a call had already reconnected the server; /mcp still listing a plugin's server after a reload removed it mid-connection; and several background MCP task fixes, including a question that used to open over a message you were still typing and now waits until you send or clear the draft. If you are wiring up a server, our walkthrough of adding a custom MCP connector is the place to start.
Two smaller items are easy to miss and cheap to act on. A saved sonnet[1m] model setting was "being rewritten on a new install to a model id the API rejects", so a fresh install on a machine with that setting is worth checking. And /login now asks "for permission to change your privacy settings", which is a prompt appearing where there was none.
#What should you do today?
- If anything you run is unattended: add
Skill(name)topermissions.allowfor every skill withallowed-toolsor hooks that a scheduled task or/loopcalls, before you upgrade. - If you rely on the sandbox to skip prompts: set
sandbox.autoAllowBashIfSandboxed: true, in your highest-ranking managed source if managed settings turn the sandbox on. - If your permission rules use compound Bash commands, relative paths or
mcp__plugin_*_prefixes: upgrade, then re-read them, because several were not enforced as written. - If a repository in your project carries a
.claude/settings.local.json: check it, because it could have been treated as your own in some subfolders. - If your network sets only
ALL_PROXY: confirm the proxy accepts CONNECT, or plugin and marketplace downloads will fail. - If you pin a plugin marketplace to a commit: a full-commit pin written now will not load on clients older than 2.1.325.
For the release before this one, see our write-up of Claude Code 2.1.323, and the Claude Code platform hub collects our coverage of it. Everything above was checked against the Claude Code changelog and its dated feed on 14 November 2026.
Frequently asked questions
- Should I upgrade to Claude Code 2.1.325?
- Yes, if you rely on permission rules or the Bash sandbox to hold anything back. The release fixes a security issue in zstd decoding, a gap where some compound Bash commands ran without asking, a case where a Bash allow rule could run a different program than the one it names, and a case where a committed .claude/settings.local.json could be treated as your own. Read the breaking changes first, because two of them will add permission prompts to setups that currently run without any.
- Why do my sandboxed Bash commands suddenly ask for permission?
- Because that is now the default. The changelog entry reads: Changed sandboxed Bash commands to follow the normal permission flow by default; set sandbox.autoAllowBashIfSandboxed: true to keep running them without prompts. If your sandbox is turned on by managed settings, the changelog says to set that key in your highest-ranking managed source rather than in a project file.
- Why did my scheduled task stop running its skill?
- Because 2.1.325 changed scheduled tasks and /loop to ask before running a skill that declares allowed-tools or hooks. The changelog says to add Skill(name) to permissions.allow to run it unattended. A second change compounds this: Always allow in Desktop, IDE and SDK hosts now offers a rule alone only when saving it would allow that command again, so a scheduled task that relied on one can now wait for you.
- What is the security fix in Claude Code 2.1.325?
- The changelog's entire entry is: Fixed a security issue in how zstd-compressed responses are decoded. It attaches no severity, no CVE and no advisory link, and says nothing about whether the issue was exploited. No advisory fills the gap either: of the 30 advisories OSV lists for the @anthropic-ai/claude-code package, none mentions zstd, and the newest was published four days before this release. The release carries separate fixes for several permission and sandbox gaps, each written as its own entry, and those are listed below.
- Is there a Claude Code 2.1.324?
- Not in the vendor's own release records. Neither the Claude Code changelog nor its dated Atom feed carries any 2.1.324 entry, so 2.1.325 follows 2.1.323 directly. The changelog has skipped version numbers before: 2.1.313, 2.1.315 and 2.1.320 are also absent from it.