Back to Feed
VulnerabilitiesNov 16, 2026

Researchers Reveal How Claude Code VS Code Extension Can Access Files Outside Trusted Workspaces

Claude Code VS Code extension can access files outside trusted workspaces via symlinks.

Security researchers discovered that the Claude Code extension for Visual Studio Code can trick users into granting file access outside of their trusted workspaces by exploiting symlinks. While Anthropic considers this not a security issue, the extension has over 29 million installs. The vulnerability, identified by Ultrastrike, allows a symlink within a workspace to point to sensitive files elsewhere, and the permission prompt does not accurately reflect the true file location.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run Anthropic?

Get an email when a new story names Anthropic, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

The Claude Code VS Code extension, with over 29 million installs, can be manipulated through symlinks to access files outside a user's trusted workspace — without the permission prompt accurately disclosing the true file location. This is a classic path traversal variant: users believe they are granting limited access, but are actually exposing sensitive system files. The root issue lies in insufficient input validation and misleading permission UI within a widely distributed third-party extension. Because Anthropic does not classify this as a security issue, no patch is forthcoming, leaving tens of millions of users exposed. This highlights the broader risk of implicitly trusting popular extensions without scrutinizing their file system access behaviors.

What helps against this

How we list vendors

Entities

Claude Code VS Code Extension (product)Anthropic (vendor)Visual Studio Code (product)symlinks (technology)