Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.267 ·

Hooks path-traversal validation extended to a hook's 'surface' file

Hook path-traversal checks now also cover a hook's 'surface' file, not just its module file

You'll notice Bug Fixes
JSON All of v2.1.267
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Bug FixesKind: in v2.1.267,
Bug FixesSection of the release
What

When Claude Code validates a plugin's hook configuration, it already checked the hook's module path for path traversal (an attempt to reference files outside the intended directory, e.g. using ../) and existence. It now performs the same checks on the hook's surfacePath as well, returning a path-traversal or path-not-found error if it fails.

Why

This closes a gap where a hook's surface file could point outside its intended directory without being caught, tightening the security checks around plugin hooks.

See this entry in the whole of v2.1.267 →

Feedback