Tuesday 17 November 2026 · UTC
Global

Your region, kept on this device.

Claude Code VS Code extension permission prompt can hide files outside trusted workspace

Compiled by RedTeamDaily · AI-assisted summaries · Human review not recorded for this version

Published · Updated

Read GBHackers report

What happened

(Carl Pearson) reports that the VS Code extension, latest version 2.1.322 at publication, shows misleading paths in permission prompts for symlinks, allowing reads or writes outside the trusted workspace (e.g. ./helpdocs or ./link pointing to /etc/). reported a similar CLI flaw in May 2026, which reportedly fixed without disclosure. Anthropic closed the report as informative, arguing the prompt is not a security control and symlinks are out of scope. No patch exists; defenders should run realpath on displayed paths before approving and audit repositories for unexpected symlinks after each sync, as Git propagates them.

For security analysts · Written by AI from 2 sources · Report an error

Sources
2

Sources and verification

Sources and editorial review

No named human review has been recorded for this story. See the source evidence below.

No vendor or government source is linked to this story yet. Read the source reports; attribution is not independent verification.

How severity and exploitation labels work · All source reports · Report an error

What to do

  1. Before approving an agent file request, run realpath on the path shown in the permission prompt and deny it if the real location is outside the workspace.
  2. Review repositories for unexpected symlinks after each sync.
  3. Be cautious with extensions, since a malicious Claude Code extension recently appeared in extension marketplaces.

Written by AI from the sources, checked against them

Source timeline (UTC) · 2 updates

  1. Mon 16 NovemberClaude Code Extension Could Let AI Agents Access Files Outside Trusted Workspaces Through SymlinksGBHackers
  2. Researchers Reveal How Claude Code VS Code Extension Can Access Files Outside Trusted WorkspacesCyber Security News

Explore this report

Ask AI about this story

Optional follow-up answers generated from our coverage. Check the linked sources before acting.

Ask your own question

Who and what is in it

Report a problem