The Daily Commit · Section Edition Front Page PHP AI Dev EN DE FR ES

TheModelDesk

July 9, 2026
models, agents & local inference

Security

Symlink Vulnerability in Six Coding Agents Allows Arbitrary File Access

Wiz researchers discovered GhostApproval, a critical flaw in Amazon Q Developer, Claude Code, Augment, Cursor, Google Antigravity, and Windsurf. Attackers can exploit symbolic links in malicious repositories to trick AI agents into writing arbitrary files, including SSH keys, bypassing sandbox restrictions. Patches available for most tools; Augment and Windsurf remain unpatched.

Researchers from Wiz have identified a critical vulnerability named GhostApproval affecting six popular AI coding agents: Amazon Q Developer, Claude Code, Augment, Cursor, Google Antigravity, and Windsurf. The flaw stems from inadequate validation of symbolic links (symlinks) within project repositories.

An attacker can exploit this by creating a malicious repository containing a symlink—for example, naming it project_settings.json—that actually points to sensitive system files like ~/.ssh/authorized_keys or ~/.zshrc. By providing instructions in a Readme file, the attacker can trick the AI agent into writing malicious data, such as an attacker's SSH key, into these protected files, thereby bypassing sandbox restrictions.

Investigation showed that human oversight is not always effective. Claude Code recognized that a file was a symlink in its internal reasoning but failed to disclose this to the user in the confirmation prompt. Other tools were even less cautious: Windsurf performs the write operation before asking for permission, while Augment provides no confirmation dialog at all.

Most affected vendors have released patches since the discovery in February 2026. While Amazon Q Developer, Google Antigravity, and Cursor have addressed the issue, Augment and Windsurf remain unpatched at this time.

Read the original source (German) ↗

Rate this article: 0

Readers’ Forum

No contributions yet — open the debate.

← The Model Desk — Page C1

Models, agents & local inference · The Daily Commit · Screen edition · Imprint · Privacy Policy