AI News
All stories
Official

Claude Code 2.1.325 patches Bash permission gaps and a zstd decoding flaw

The changelog lists fixes for compound Bash commands that could run without asking, an allow rule that could run a different program, and a zstd decoding security issue.

Safety & Security · · 1 min read

Claude Code 2.1.325, dated November 13, 2026, fixes a gap in its Bash permission checks where some compound commands could run without asking. According to Anthropic's release notes, those commands now ask for permission. The same release also fixes a security issue in how zstd-compressed responses are decoded, though the notes give that issue only one line.

The Bash fixes go beyond the compound-command gap. The notes say a Bash allow rule could run a different program than the one it names, and that some deny and ask rules did not apply to certain Bash commands. An allow rule lets a command run without a prompt, so a rule that matches one program name but executes another would grant more than the user approved. Deny and ask rules exist to stop or pause a command, so if they skip certain commands, the user's configured checks do not cover everything they appear to cover. The notes do not say which programs or commands were involved, or how long the gaps existed.

The release also changes how sandboxed Bash commands are handled. By default, they now follow the normal permission flow, and users who want them to keep running without prompts can set sandbox.autoAllowBashIfSandboxed to true. The notes list 88 bug fixes in this release, and the Bash and zstd items are among them. The changelog does not say whether the zstd flaw affected a particular decoder, a set of responses, or only users of certain configurations.

What changed

Compound Bash commands that previously could run without asking now ask for permission, and a zstd decoding security issue is fixed.

Type: Security · Takes effect: Friday, November 13, 2026 · Applies to: Claude Code 2.1.325

Why it matters

These are security-relevant fixes in a widely used AI coding agent, affecting which commands run without approval on developer machines.

What you can do

Upgrade Claude Code to 2.1.325 on developer machines and CI runners, and review Bash allow rules that rely on compound commands.

Original source

Where we saw it

1 source

Claude Code changelog

AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it. How it works