• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Sq Magazine LogoSQ Magazine

Smarter Insights for a Fast-Moving Digital World

  • Latest News
  • Statistics
  • About
  • Contact
  • Subscribe
Subscribe
Sq Magazine Logo
  • Latest News
  • Statistics
  • About
  • Contact
  • Subscribe
Subscribe
Home » Cybersecurity

Wiz Finds GhostApproval Flaw in 6 AI Coding Assistants

Published on: July 9, 2026, 12:44 PM EDT
Sofia Ramirez
Senior Tech Writer • 637 Articles
Sofia Ramirez is a technology and cybersecurity writer at SQ Magazine. With a keen eye on emerging threats and innovations, she helps reader...
LATEST POSTS:
ASOS Hack Warning: Customers Urged to Watch for Phishing
UK’s Legal AI Sandbox Closes Applications as 83% of Lawyers Flag Hallucination Risk
LibreOffice Fixes Silent RCE Vulnerability, OpenOffice Still Exposed
Robert A. Lee
Senior Editor • 464 Articles
Robert A. Lee is a journalist at SQ Magazine who unpacks the fast-moving worlds of gaming and internet trends. He tracks everything from maj...
LATEST POSTS:
Google Unveils AI-Powered Playground for No-Code Game Creation
Clash Royale Statistics 2026: Revenue, Players and Engagement
Email Security for Small Businesses: The Five Controls That Matter Most
Ghostapproval Flaw In 6 Ai Coding Assistants Found
As Featured In
The New York Times LogoForbes LogoWired LogoDeloitte LogoResearch.com Logo
Share on LinkedIn ChatGPT Perplexity Share on X Share on Facebook

Wiz disclosed GhostApproval on July 8, 2026, a symlink-based vulnerability pattern letting malicious code repositories trick 6 AI coding assistants into writing files outside their sandbox. Three vendors have shipped fixes, two remain silent, and Anthropic rejected the finding as outside its threat model.

Quick Summary – TLDR:

  • Wiz identified GhostApproval, a flaw combining symlink following (CWE-61) with UI misrepresentation (CWE-451) across 6 AI coding assistants, according to Wiz.
  • AWS, Cursor, and Google fixed the issue promptly, while two other vendors acknowledged the report and went silent.
  • Anthropic’s Claude Code internally recognized the dangerous target, yet its confirmation prompt named only the harmless filename.
  • AWS patched the Amazon Q Developer language server in version 1.69.0 and assigned CVE-2026-12958 to track the fix, per Cyberpress.
  • In May 2026, Adversa AI’s SymJack research found the same symlink-approval pattern across six coding agents.

What Happened?

GhostApproval is a vulnerability pattern affecting 6 of the top AI coding assistants: Amazon Q Developer, Anthropic Claude Code, Augment, Cursor, Google Antigravity, and Windsurf. In each case, a malicious repository can trick the agent into accessing arbitrary files outside the workspace sandbox, potentially achieving remote code execution on the developer’s machine.

The bug class sits inside a well-known Unix weakness. A workspace file that looks like a harmless settings file is actually a symbolic link pointing somewhere else entirely, and CWE-61, a well-documented attack primitive, dates back decades.

Wiz reported the findings to all 6 vendors: AWS, Cursor, and Google fixed the issue promptly, two vendors acknowledged receipt but went silent, and Anthropic gave a reasoned rejection.

🚨 GhostApproval </>

A malicious repo can trick AI coding assistants into reading or writing files outside the workspace.

Wiz says symlink flaws affected Amazon Q Developer, #Claude Code, Augment, Cursor, #Google Antigravity, and Windsurf.

Learn how this attack works on THN 🠖… pic.twitter.com/V9tgTubPDR

— The Hacker News (@TheHackersNews) July 9, 2026

How the Approval Prompt Lied?

Anthropic’s Claude Code supplies the clearest example of the gap GhostApproval exposes. That gap is CWE-451, UI misrepresentation of critical information, layered on top of the symlink vulnerability, and Wiz’s testing caught it happening inside the agent’s own reasoning before the user ever saw a prompt.

The agent’s internal reasoning stated: I can see that `project_settings.json` is actually a zsh configuration file. The prompt shown to the developer, however, simply asked: Make this edit to `project_settings.json?`

The user approves what they believe is a harmless local edit while the agent writes to a sensitive file outside of the project workspace. When Wiz reported the Claude Code case, Anthropic pushed back: This falls outside our current threat model.

Anthropic argued that users implicitly accept risk once they trust a directory and approve a permission prompt inside it. The company later confirmed that Claude Code versions 2.1.32 and later, which shipped before the report was even filed, include symlink warnings as part of proactive security hardening, though it stopped short of crediting the disclosure for the change.

Vendor Responses Split Three Ways

Six vendors received the disclosure; three fixed the flaw, two acknowledged it without shipping a fix, and one rejected the classification. The split also breaks along a second, more consequential line: some tools merely mislabeled the target file, while Windsurf wrote file modifications directly to disk before the Accept/Reject buttons even appeared, and Augment performed both symlink reads and writes with no user confirmation whatsoever.

VendorProductStatusCVE
AWSAmazon Q DeveloperFixed (language server 1.69.0)CVE-2026-12958
CursorCursorFixed (v3.0)CVE-2026-50549
GoogleAntigravityFixed (v1.19.6)Pending
AugmentAugmentAcknowledged, no fix shippednone assigned
WindsurfWindsurfAcknowledged, no fix shippednone assigned
AnthropicClaude CodeRejected as outside threat modelnone assigned

AWS patched the Amazon Q Developer language server in version 1.69.0 and assigned CVE-2026-12958 to the fix, while Cursor addressed the flaw in version 3.0 and issued CVE-2026-50549. Google patched Antigravity in version 1.19.6 and is still assessing whether to issue a formal CVE.

The design gap is not confined to one vendor’s oversight. In May 2026, Adversa AI published SymJack, the same symlink-and-approval pattern against six coding agents, including Claude Code, Cursor, GitHub Copilot, and Grok Build. Two independent teams landing on the same pattern points to a shared design weakness: these agents follow a symlink using ordinary file operations, then ask for approval based on the path they were handed, not the path the write lands on.

Newsletter
Don’t chase tech news. We track it for you.

One weekly briefing with the launches, AI developments, and breaches that matter. No filler.

Read by pros at Fortinet, TSMC, Barclays, and Deloitte.

What’s Next?

Developers running any of the affected tools should update to the patched builds. Until Augment and Windsurf ship fixes, Wiz’s guidance for running the agent with limited file access, working inside a sandbox or container, and reviewing a repository’s README and hidden config files before letting it set up the workspace helps reduce the risk of a silent write to SSH keys or shell startup files. It does not eliminate it.

Expect Google to formalize its pending CVE, and expect scrutiny of Anthropic’s threat-model stance to continue given that its own fix shipped weeks before this report landed.

SQ Magazine’s Takeaway

GhostApproval is less a single bug than a demonstration that “human in the loop” only works when the loop is shown the truth. In several tests, the agent’s own reasoning identified the real, dangerous file target and then displayed a prompt naming the harmless one instead. That is not a sandbox failure a patch quietly closes; it is a consent mechanism that was never showing users what they were actually approving, and the 3 vendors that fixed it treated it as exactly that.

Anthropic’s rejection is coherent as a liability argument: a user who trusts a malicious directory has made a choice. But it does not resolve the underlying design problem SymJack’s independent discovery reinforces.

Coding agents that read instructions and file paths from the same untrusted source they act on will keep producing this class of bug until vendors resolve paths before asking, not after. Developers should treat every one of the 6 affected tools, and every unfamiliar repository, as a workspace that can lie to their tools, not just to them.

This article has been reviewed and fact-checked by Robert A. Lee. SQ Magazine follows strict Publishing Principles and a documented Fact-Check Policy to ensure accuracy, transparency, and editorial independence across all content.

Add SQ Magazine as a Preferred Source on Google for updates! Follow on Google News
Share ChatGPT Perplexity

References

  • GhostApproval - A Trust Boundary Gap in AI Coding Assistants
Sofia Ramirez

Sofia Ramirez

Senior Tech Writer


Sofia Ramirez is a technology and cybersecurity writer at SQ Magazine. With a keen eye on emerging threats and innovations, she helps readers stay informed and secure in today’s fast-changing tech landscape. Passionate about making cybersecurity accessible, Sofia blends research-driven analysis with straightforward explanations; so whether you’re a tech professional or a curious reader, her work ensures you’re always one step ahead in the digital world.

Related Posts

Cursorai Flaw Lets Autorun Malicious Code
Cybersecurity

Remote Code Execution Bug in Cursor AI Raises Major Security Concerns

Cursor S Unpatched Zero Day Lets Repos Run Malicious Code
Cybersecurity

Cursor’s Unpatched Zero-Day Lets Repos Run Malicious Code

Claude Cowork Sandbox Escape On Mac
Cybersecurity

Claude Cowork Sandbox Escape Exposed 500,000 Mac Users

Disclaimer: The content published on SQ Magazine is for informational and educational purposes only. Please verify details independently before making any important decisions based on our content.

Reader Interactions

Leave a Comment Cancel reply

Primary Sidebar

Connect With Us

facebook x linkedin google-news telegram pinterest whatsapp email
google-preferred-source-badge Add as a preferred source on Google

You Should Also Read

GhostCommit Attack Hides Prompt Injection Inside Images
Claude’s AI Assistant Helped Hackers Exploit Its Own Weaknesses
Critical Argument Injection Flaw Lets Hackers Hijack AI Agents

Table of Contents

  • Quick Summary – TLDR:
  • What Happened?
  • How the Approval Prompt Lied?
  • Vendor Responses Split Three Ways
  • What’s Next?
  • SQ Magazine’s Takeaway

Weekly stats quiz Week 41

How much of a tech geek are you?

5 fast questions from this week's verified industry data. About a minute.

Play the quiz New every Monday

Footer

SQ Magazine Logo

Smarter Insights for a Fast-Moving Digital World

Connect With Us

Follow Us on Google News

Editorial & Trust

  • About
  • Publishing Principles
  • Fact-Check Policy
  • Corrections Policy
  • Ethics Policy
  • Disclaimer
  • Cookie Policy

Worth Checking

  • The Tech Index
  • The Threat Index
  • Social Media Attention Span Stats
  • Instagram Followers Stats
  • Google Usage Stats
  • LLM Hallucination Stats
  • Gen Z Social Media Stats
Contact Us
13570 Grove Dr #189,
Maple Grove, MN 55311,
United States
10 a.m. to 6 p.m. | Every day

Copyright © 2022–2026 SQ Magazine. All Rights Reserved. Powered by the Neural Stack.

  • Privacy Policy
  • Terms
  • Accessibility Statement
Company
  • About Us
  • Our Team
  • Our Mission
  • Core Values
Discover
  • Brand Assets
    Brand Assets
  • Stats Methodology
    Stats Research Process
  • Glossary
    Glossary
Categories
  • Internet
  • Technology
  • Artificial Intelligence
  • Gaming
  • Cryptocurrency
Internet
Average Attention Span Statistics The Cross-Domain Numbers
Average Attention Span Statistics 2026: The Cross-Domain Numbers
How Many Videos Are on YouTube Statistics
How Many Videos Are on YouTube Statistics 2026: Key Data
How Many People Work at WhatsApp
How Many People Work at WhatsApp 2026: Employee Count and History
Spotify Listening Statistics
Spotify Listening Statistics 2026: Average Listening Time
How Many Subscribers Does MrBeast Have
How Many Subscribers Does MrBeast Have in 2026? Channel Growth Statistics
WhatsApp Business Statistics
WhatsApp Business Statistics 2026: Real Market Insights
Technology
Average US Salary Statistics Median Income by Age and State
Average US Salary Statistics 2026: Median Income by Age and State
Aptoide Statistics 2026: Downloads, Users and App Store Share
Aptoide Statistics 2026: Downloads, Users and App Store Share
AppsFlyer Statistics Customers Revenue and Market Position
AppsFlyer Statistics 2026: Customers, Revenue and Market Position
How Many iPhones Has Apple Sold
How Many iPhones Has Apple Sold in 2026? Units Sold by Year
How Many Employees Does Amazon Have
How Many Employees Does Amazon Have 2026: Workforce Growth
Netflix vs. Hulu Statistics
Netflix vs Hulu Statistics 2026: Viewer Growth Data
Artificial Intelligence
Cursor AI Statistics 2026: Users, Revenue and Developer Adoption
Cursor AI Statistics 2026: Users, Revenue and Developer Adoption
AI Search Engine Statistics Usage Market Share and Adoption
AI Search Engine Statistics 2026: Usage, Market Share and Adoption
AI Music Statistics
AI Music Statistics 2026: Generation, Adoption and Industry Impact
AI Coding Statistics
AI Coding Statistics 2026: Adoption, Productivity and Market Data
How Much Content on Social Media Is AI Generated Statistics
How Much Content on Social Media Is AI Generated Statistics 2026: Hidden Truths
ChatGPT vs DeepSeek Statistics
ChatGPT vs DeepSeek Statistics 2026: Users, Benchmarks & Pricing
Gaming
Clash Royale Statistics Revenue Players and Engagement
Clash Royale Statistics 2026: Revenue, Players and Engagement
Gaming Statistics
Gaming Statistics 2026: Market Size, Players, Revenue, and Platforms
Roblox vs Minecraft Statistics
Roblox vs Minecraft Statistics 2026: Players, Revenue, Creators
Online Gambling Regulations Statistics
Online Gambling Regulations Statistics 2026: Global Compliance and Enforcement Data
Fantasy Sports Statistics
Fantasy Sports Statistics 2026: Users, Revenue & Trends
Apex Legends Statistics 2026: Players, Revenue, and Esports
Apex Legends Statistics 2026: Players, Revenue, and Esports
Cryptocurrency
How Many Bitcoins Are There
How Many Bitcoins Are There in 2026? Supply, Mined and Remaining Statistics
Stablecoin Usage Statistics
Stablecoin Usage Statistics 2026: Explosive Growth
Cryptocurrency Adoption Statistics
Cryptocurrency Adoption Statistics 2026: Shocking Trends Now
Coinbase Wallet Statistics
Coinbase Wallet Statistics 2026: Users, Security
Dogecoin Statistics 2026: Circulating Supply, Inflation Rate and ETFs
Dogecoin Statistics 2026: Circulating Supply, Inflation Rate and ETFs
BONK Coin Statistics Supply Holders Price and Treasury Data
BONK Coin Statistics 2026: Supply, Holders, Price and Treasury Data
Categories
  • Artificial Intelligence
  • Cybersecurity
  • Technology
  • Internet
  • Cryptocurrency
Artificial Intelligence
Google Launch Synthid Checker Tool
Google Opens SynthID Detector to Public for AI Media Checks
Nano Banana 2 1 Launched Ai Search
Nano Banana 2.1 Lands in Google Search With Big Upgrades
Amazon Strands Deciders 2b Ai Model Jev Killer
Amazon’s Strands Decider 2B Model Targets Faster AI Agents
Gemini 4 Argon Launch
Gemini 4 Argon Launched by Google With Cybersecurity Features
Meta Dispute Muse Private Message Read Claim
Meta Disputes Claim Muse AI Read Private Messages
Openai Dots Gpt 6 1 Sol Launched
OpenAI Launches Dots Agents and GPT-6.1 Sol at DevDay 2026
Cybersecurity
Asos Data Breach Confirmed By Company
ASOS Hack Warning: Customers Urged to Watch for Phishing
Libreoffice Java Malicious Spreadsheets Flaw Patch
LibreOffice Fixes Silent RCE Vulnerability, OpenOffice Still Exposed
Gmo And Mrmax Data Breach
GMO Research & AI Breach Hits 948,500 infoQ Members
Gitlab Cybersecurity Patch Alert
GitLab Warns of Critical RCE Flaw in Self-Hosted AI Gateway
Microsoft X Account Hacked Clippy Crypto
Microsoft X Hackers Push Unauthorized Clippy Crypto Token
Dell Cybersecurity Infrastructure Alert
Dell Patches Two CVSS 10 Container Storage Modules Flaws
Technology
Apple Autumn Launch Surprise
Apple Eyes Surprise Late-October Launch for New Macs
Microsoft Windows Deployment Service Deprecation
Microsoft Will Deprecate Windows Deployment Services After Server 2025
Youtube Custom Feeds With Gemini Ai
YouTube’s AI Feed Builder Changes Video Discovery
Iphone 18 Pro Face Id Bug Reboot Crash
New iPhone 18 Pro Bug Makes Face ID Crash and Reboot
Googlebook With Gemini Ai Launched
Googlebook’s Bold Laptop Launch Starts at $899 in the US
New Samsung Patent Reveals Galaxy Watch Glucose Tracking
New Samsung Patent Reveals Galaxy Watch Glucose Tracking
Internet
Meta Launched Meta One Subscription
Meta One Bundles Instagram, Facebook, WhatsApp Into One AI Subscription
Apple Wallet Ids Launch In Oklahoma
Apple Wallet IDs Launch in Oklahoma in Major Expansion
Meta to Pay 18 Billion in Landmark Teen Safety Deal
Meta to Pay $18 Billion in Landmark Teen Safety Deal
Whatsapp Brings Passkeys 2fa
WhatsApp Hits 1 Billion Passkey Users, Adds 2FA Passwords
Apple Eu App Store Fee Reduction
Apple Sets New EU App Store Fees, Effective October 1
Github Outage Aug 2026
GitHub Down: Outage Hits Thousands of Users Worldwide
Cryptocurrency
Sonic Labs Launch Ussd Stablecoin
Sonic Launches USSD Stablecoin Backed by US Treasuries
Bhutan Moves 12m In Bitcoins
Bhutan Moves $12 Million in Bitcoin from Primary Wallets
Curve Finance Accuses Pancakeswap For Code Stealing
Curve Accuses PancakeSwap of Copying StableSwap Code
Strike Receives Bitlicense In New York
Strike Gets New York BitLicense for Bitcoin Financial Services
Scotiabank Multi Crypto Etf 3iqlogos
Scotiabank Launches Multi Crypto ETF With 3iQ in Canada
Nyse Parent Invests In Okx Crypto Exchange
ICE Invests in OKX to Bridge Crypto and Traditional Finance
Newsletter

Too much tech noise?

We respect your time. One high-signal briefing a week: tech, AI, and security. Nothing else.

Read by pros at Fortinet, TSMC, Barclays, and Deloitte.
Newsletter

The SQ Briefing

We track tech, AI, and security 24/7. You get a 5-minute weekly summary.

Read by pros at Fortinet, TSMC, Barclays, and Deloitte.