Claude Code 2.1.251 Closes Several Routes Around the Permission Check
The Claude Code CHANGELOG gained a 2.1.251 entry on August 28, 2026. It lists fixes around permissions, including file tools that could read or write outside the approved location via a swapped symlink, plus new hook events for model switching.
Anthropic’s Claude Code has a new 2.1.251 entry. The CHANGELOG has no date column, but the commit that added the entry is dated August 28, 20261.
- Fixed file tools (Read, Write, Edit) following a symlink swapped inside the working directory after the permission check, which could read or write outside the approved location1
- Fixed plugin commands declared in a marketplace entry being able to point outside the plugin directory; such paths are now rejected with a path-traversal error1
- Fixed Grep and Glob not applying
Read(...)deny rules to files reached through a symlinked search path1 - On the feature side, added
PreModelSwitchandPostModelSwitchhook events, which can block, confirm, or annotate a model switch1
The list also covers the Workflow tool reading a scriptPath outside what the session may read before the permission check ran, and Bash permission checks auto-approving commands that assign an arithmetic expression to an integer shell variable, such as OPTIND=1/01. The CHANGELOG carries no CVE identifiers or severity ratings, and says nothing about whether any of this was exploited. Still, these are all fixes to cases where reach extended past what was approved, so if you run Claude Code with permissions and hooks tuned to limit where it can operate, the update is worth prioritizing. It is worth reading alongside auto mode becoming the default on August 14, which widened the range of actions that proceed without a prompt in the first place.
Sources
- Claude Code CHANGELOG - Anthropic official repository (the 2.1.251 entry; the commit adding it is dated August 28, 2026)
Was this article helpful?
Thank you!
Received. Thank you!