Researchers at Wiz disclosed GhostApproval, a vulnerability pattern affecting at least six AI coding assistants — Amazon Q Developer, Anthropic Claude Code, Augment, Cursor, Google Antigravity, and Windsurf — that abuses symbolic links in malicious repositories to bypass workspace trust boundaries. The flaw can trick an agent into reading from or writing to files outside the intended project directory, creating a path to sensitive file modification, data exfiltration, persistent unauthorized access, or even remote code execution on a developer machine.
Wiz said the weakness was amplified by misleading approval flows: several tools reportedly detected the real symlink destination internally, but their prompts concealed that destination from users, weakening human-in-the-loop safeguards. Amazon, Cursor, and Google treated the issue as a serious security problem and released fixes, with Amazon assigning CVE-2026-12958 and Cursor assigning CVE-2026-50549; Google was still evaluating CVE issuance. Anthropic said the behavior was initially outside Claude Code’s threat model, though current versions reportedly warn before writing to sensitive files, while Augment and Windsurf acknowledged the report but had not announced patches at press time.

Track how attackers are adapting to this technology.
6 events from the most recent confirmed update back to the earliest known activity.
Anthropic updated Claude Code so that version 2.1.173 and later resolve symbolic links, addressing the GhostApproval issue in its tool. This is a remediation step beyond Anthropic's earlier response that the issue was outside the product's threat model.
Anthropic initially said the issue was outside Claude Code's threat model, though current Claude versions reportedly warn before writing to sensitive files. Augment and Windsurf acknowledged the report but had not patched at press time.
By late June, AWS, Cursor, and Google had deployed fixes for GhostApproval-related issues in their AI coding assistants. Amazon assigned CVE-2026-12958, Cursor assigned CVE-2026-50549, and Google was still assessing CVE issuance.
Wiz disclosed the issue to Amazon Q Developer, Anthropic Claude Code, Augment, Cursor, Google Antigravity, and Windsurf. The report highlighted that confirmation prompts often hid the true symlink destination, weakening human approval safeguards.
Wiz discovered a vulnerability pattern it named GhostApproval that abuses symbolic links in malicious repositories to make AI coding assistants access files outside their workspace sandbox. The issue can enable unauthorized file writes, data exfiltration, persistent access, or remote code execution on a developer machine.
Wiz published a proof of concept for GhostApproval showing how a malicious repository could disguise a symlink as a benign project file such as project_settings.json while redirecting writes to sensitive files like SSH keys. Wiz said the technique could grant passwordless remote access and, in the worst case, lead to remote code execution.
Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.
Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.
Follow how adversaries are adapting to this technology, and where it touches your stack today.
18 references tracked. Mallory keeps watching after this page renders.
cysecurity.news
Open sourcehackread.com
Open sourceinfosecurity-magazine.com
Open sourcescworld.com
Open sourcedecipher.sc
Open sourceadversa.ai
Open sourcecwe.mitre.org
Open sourcecwe.mitre.org
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.