Claude Code v2.1.309
Claude Code v2.1.309 is a fix-heavy release focused on sandbox and permission hardening: sandboxed Bash no longer runs shell startup files outside the sandbox, symlinked paths no longer slip past macOS denyWrite rules, and sandboxed commands can no longer edit the --mcp-config file.
Why it matters
For teams that let Claude Code run commands with auto-accepted edits or in a sandbox, this release closes several ways commands could act outside the limits you set, so the guardrails behave the way they read.
What's new
- Sandboxed Bash on macOS and Linux no longer runs the shell's startup files outside the sandbox before each command.
- macOS sandbox denyWrite globs now apply at a path's real location when its folder is reached through a symlink, and profile store write protection now holds through symlinked config directories.
- Sandboxed commands and auto-accepted edits can no longer modify the MCP config file passed with --mcp-config, and a disabled MCP server is no longer reconnected by a later permission prompt in print and SDK sessions.
- Bash permission checks were tightened: compound commands that change directory before running git now prompt as a plain cd does, and an Edit(path) deny rule now blocks Bash redirects to that path in more cases.
- Other fixes include repeated compaction under a very large nested CLAUDE.md (oversized files now load only their start) and ctrl+enter send-now behavior.
Taken from the project's own release notes. Claims about speed or accuracy are the maker's unless stated otherwise.
Quick facts
| Pricing | Requires a Claude account or Anthropic API access (plan details not checked)not verified |
|---|---|
| Free or paid | Paid |
| License | Proprietary (© Anthropic PBC; use subject to Anthropic's Commercial Terms) |
| Language | TypeScript (repo) |
| Platform | macOS, Linux, Windows; terminal, IDE, desktop |
| GitHub stars | ★ 152,973 (as of 2026-10-23) |
| Maker | Anthropic |
Links
- Official site: https://code.claude.com/docs/en/overview
- Repository: https://github.com/anthropics/claude-code
- Release notes: https://github.com/anthropics/claude-code/releases/tag/v2.1.309
- Docs: https://code.claude.com/docs/en/setup
Related ranking
See how established tools compare in Best AI Coding Tools for Developers. New releases aren't scored until we review them against the rubric.
What we couldn't verify
- quick_facts.pricing
Checked 2026-10-23 from the release notes's own pages. Prices and star counts change, so confirm on the official site. Listing here is not a ranking or an endorsement.
One email a week on AI that saves business owners time
Every Friday: one tool pick with the business use case, what changed in tools you already use, and the week's AI news in plain English. No spam.
Free. Unsubscribe any time. See our privacy policy.