Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.238 ·

Remote requests to change the working directory reject network paths

Remote requests to change your working directory now refuse network paths and hidden-character tricks.

You'll notice Improvements
JSON All of v2.1.238
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.238,
ImprovementsSection of the release
What

A request from a remote host to set the working directory is now screened for path shape before anything is resolved, using the same check already applied to remote reads. Paths that resolve to a network location, including obfuscated spellings of one, are refused, as are paths containing invisible characters. The offending path is never repeated back in the response.

Details
  • Rejections come back with the reason unsafe_path.
  • The user-facing text is "The target is a network path or an obfuscated spelling, which cannot be set as the working directory from a remote host. The path is deliberately not echoed back."
  • The existing rejection of paths containing invisible characters is unchanged and also withholds the path.
  • Applies unconditionally on the remote set-working-directory path; there is no setting that turns it off.
Evidence

The target is a network path or an obfuscated spelling, which cannot be set as the working directory from a remote host. The path is deliberately not echoed back., The target resolved to a network path or an obfuscated spelling, which cannot be set as the working directory from a remote host.

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.238 →

Feedback