BuildRiot
Sign in

AISource: Anthropic

Anthropic fixes zstd decoding and changes Bash approvals in Claude Code 2.1.325

Claude Code 2.1.325 fixes a security issue in zstd response decoding and changes sandboxed Bash permissions. Developers running unattended workflows should verify their installed version and review approval rules.

Anthropic logo
Cover: BuildRiot

Anthropic fixed a security issue in decoding zstd-compressed responses in Claude Code 2.1.325 and changed sandboxed Bash permissions. Claude Network dates the release to November 13, 2026; GitHub displays November 13 without a year or timezone. Anthropic’s release notes disclose no affected-version range, component, advisory identifier, severity, exploitation prerequisites or exploitation status. Sources: Anthropic, Claude Network

Sandboxed Bash now follows normal permissions by default, with approval determined by existing rules and permission mode; filesystem and network restrictions remain unchanged. Setting sandbox.autoAllowBashIfSandboxed: true restores automatic approval; managed deployments must set it in their highest-ranking managed source. Managed settings and --settings outrank project-local settings, and a local /sandbox choice cannot override them. Sources: Anthropic

The release fixes compound commands bypassing prompts, Bash allow rules executing a different program, and missed deny or ask rules. With automatic approval enabled, matching deny rules still block and content-specific ask rules still prompt; bare Bash or Bash(*) ask rules are skipped for sandboxed commands except in plan mode. Recognized critical-path deletion commands and some command forms still follow normal permission handling. Sources: Anthropic

Scheduled tasks and /loop now request approval before invoking skills declaring allowed-tools or hooks; Skill(name) in permissions.allow permits unattended invocation. Claude Code on the web, cloud scheduled tasks and Cowork cloud sessions now start despite sandbox.failIfUnavailable because their hosted containers have no command sandbox. Hosted-container isolation is separate from the local command sandbox, which wraps shell commands and excludes hooks, Model Context Protocol (MCP) servers and file tools. Sources: Anthropic

Native installations update in the background by default; autoUpdatesChannel defaults to latest, while stable typically trails by about a week. Homebrew and WinGet do not auto-update by default; Homebrew’s claude-code cask tracks stable, and claude-code@latest tracks latest. WinGet package availability can lag update notifications, so developers should check the installed version with claude --version after updating. Sources: Anthropic

What to do

  1. For native installations, run claude update, restart the session and run claude --version to confirm 2.1.325 or later.
  2. For Homebrew, run brew upgrade claude-code or brew upgrade claude-code@latest to match the installed cask, then run claude --version to check for 2.1.325 or later.
  3. For WinGet, run winget upgrade Anthropic.ClaudeCode, then run claude --version to check for 2.1.325 or later.
  4. If policy requires blocking unsandboxed retries, set sandbox.allowUnsandboxedCommands: false, because matching allow rules can approve those retries without prompting.
  5. Test representative compound commands, sandbox retries and scheduled or /loop skill invocations on 2.1.325 under the intended policy, checking sandbox.autoAllowBashIfSandboxed and Skill(name) rules in permissions.allow. Sources: Anthropic

Why it matters

Unattended workflows may need permission-rule changes to keep running without prompts. Bash allow rules can also approve unsandboxed retries, so they do not guarantee sandbox-only execution.

Attribution

Sources

  1. 1AnthropicRelease v2.1.325
  2. 2AnthropicConfigure the sandboxed Bash tool
  3. 3AnthropicAdvanced setup
  4. 4Claude NetworkClaude Code 2.1.325: what changed

Read the original source for full details and context.

Report a problem

Links, dates or what you expected. Do not include passwords or private data.

More on AI

All AI stories
Anthropic fixes zstd decoding and changes Bash approvals in Claude Code 2.1.325 · BuildRiot