On July 24, 2026, Tego AI disclosed a vulnerability in Anthropic's Claude Code: a CLAUDE.md file containing an @import directive pointing to an in repo symbolic link can silently read files from outside the project an...

Create a landscape editorial hero image for this Studio Global article: Search & fact-check with cited sources for What security vulnerability did Tego AI disclose in Anthropic's Claude Code in July 2026, how doe. Article summary: Now I have comprehensive sources. Let me compile the full answer.. Topic tags: general, government, general web, user generated. Style: premium digital editorial illustration, source-backed research mood, clean composition, high detail, modern web publication hero. Use reference image context only for broad subject, composition, and topical grounding; do not copy the exact image. Avoid: logos, brand marks, copyrighted characters, real person likenesses, fake screenshots, UI text, readable text, watermarks, charts with fake numbers, clickbait thumbnails, icons, and tiny thumbnail layouts. Make it useful as an illustrative visual, not as factual evidence.
On July 24, 2026, Tego AI disclosed a security vulnerability in Anthropic's Claude Code that allows a malicious repository to silently exfiltrate files from a developer's machine. The attack exploits a provenance mismatch in how Claude Code handles symbolic links (symlinks) in the CLAUDE.md project instruction file. When a developer clones a repository and runs Claude Code, a symlink inside the repo can make the tool read files from outside the project and include their contents in the first model request — with no warning, no approval dialog, and no visible tool call .
The vulnerability turns on a simple but critical oversight in Claude Code's memory loader:
CLAUDE.md file with an @import directive pointing to an in-repo file — for example, @./link /etc/passwd or ../../../../home/user/.ssh/id_rsa. Git preserves symlinks when cloning CLAUDE.md and encounters the @./link import. It checks whether the lexical path (./link) is inside the project — it is — so the import is classified as "internal" and no external-import approval dialog fires ANTHROPIC_BASE_URL setting in the repo can redirect the outbound endpoint to a server the attacker controls, completing the exfiltration The novel finding is not that Claude Code follows symlinks — that is documented and intentional. The novel finding is the consent bypass: the external-import check runs against the unresolved path, the read operates on the resolved path, and the memory loader never received the symlink-resolution fix that was applied to Claude Code's permission subsystem in two prior CVEs .
Tego AI reported the issue through HackerOne in July 2026. Anthropic closed the report as "Informative" — meaning it did not treat it as a security vulnerability under its current threat model .
Anthropic's rationale: under Claude Code's threat model, the "trust this folder" dialog is the security boundary. Accepting that dialog already grants the project broad read, edit, and execute access. Tego AI does not dispute that Anthropic consistently applies this model, but argues the finding still matters because the data leaves the machine automatically, silently, and outside the user's awareness .
Notably, the same symlink-vs.-security-check failure pattern had been fixed twice before in Claude Code's permission subsystem:
Both prior fixes resolved the symlink before checking permissions — but that fix was never applied to the memory loader code path .
Tego AI's disclosure is the second Claude ecosystem flaw in a week. On July 14, 2026, Tego disclosed that Claude Tag's Slack integration could be triggered by plain @Claude text in any message, potentially enabling unauthorized enterprise actions .
Beyond Tego's work, Claude Code has accumulated at least 28 CVEs in roughly one year of existence, including:
/copy command wrote responses to a hardcoded world-readable temp path /tmp/claude/response.md, letting any local user read secrets Cross-industry research shows this is not unique to Anthropic:
The underlying architectural tension is consistent across the industry: AI coding agents need broad filesystem, shell, and network access to be useful — but that elevated access is the same privilege an attacker needs. Every sandbox escape, path traversal, and trust-dialog bypass stems from this same challenge . The attack surface is not shrinking; new features add new vectors faster than existing ones are patched.
Studio Global AI
Use this topic as a starting point for a fresh source-backed answer, then compare citations before you share it.
On July 24, 2026, Tego AI disclosed a vulnerability in Anthropic's Claude Code: a CLAUDE.md file containing an @import directive pointing to an in repo symbolic link can silently read files from outside the project an...