Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons

Social Media

Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons
Search the Site
Popular Searches:
technology Amazon AI
Recent Posts
InfoStealer Logs Fuel Massive Cloud Data Breaches
July 24, 2026
Lampion RAT Malware Hidden in Fake Payment Receipt Emails
July 24, 2026
Google Chrome Emergency Update Patches Four High-Severity Flaws
July 24, 2026
Home/CyberSecurity News/Critical Claude Cowork Sandbox Escape Flaw Exposes SSH Keys, Cloud Credentials
CyberSecurity News

Critical Claude Cowork Sandbox Escape Flaw Exposes SSH Keys, Cloud Credentials

Key Takeaways A critical vulnerability named “SharedRoot” has been discovered in Claude Cowork’s local sandbox environment. This flaw allows a malicious AI agent to escape its Linux...

David kimber
David kimber
July 24, 2026 4 Min Read
3 0

Key Takeaways

  • A critical vulnerability named “SharedRoot” has been discovered in Claude Cowork’s local sandbox environment.
  • This flaw allows a malicious AI agent to escape its Linux virtual machine (VM) and gain full access to the host macOS filesystem.
  • Sensitive data, including SSH private keys and cloud credentials, can be exfiltrated or modified without user interaction.
  • The vulnerability is a chain of four design weaknesses and an Ubuntu kernel flaw (CVE‑2026‑46331).
  • The incident severely compromises the security assurances of Cowork’s local execution model.

A severe security vulnerability has been identified in the local sandbox environment of Claude Cowork, enabling an adversarial AI agent to bypass its Linux virtual machine and gain unauthorized access to the host macOS filesystem. This critical flaw permits the exfiltration of sensitive information, such as SSH private keys and cloud credentials, without requiring any user prompts or interaction.

Table Of Content

  • Key Takeaways
  • SharedRoot: Escaping the Cowork Sandbox
  • The Pedit COW Vulnerability and Privilege Escalation
  • What You Should Do

The root cause of this issue is not a singular kernel vulnerability but rather a combination of four questionable design decisions related to the integration of the sandbox, kernel features, and the host filesystem. This multi-faceted exploit chain has been dubbed “SharedRoot” by security researchers.

SharedRoot: Escaping the Cowork Sandbox

Researchers from Accomplish successfully executed the “SharedRoot” attack, demonstrating how untrusted content within a Claude Cowork session can escape its VM and directly interact with the host macOS filesystem. By initiating a new Cowork session with a shared folder and leveraging a specially crafted prompt, they proved the ability to read and write files across the host user’s entire account, far exceeding the intended boundaries of the shared folder.

Cowork is designed to execute AI-driven code within a Linux VM as an unprivileged user, employing seccomp filters and brokered mounts to manage untrusted workloads. The expectation is that all actions performed by the AI agent remain strictly confined to the guest VM and explicitly selected folders. However, the SharedRoot exploit reveals a significant breach in this boundary, transforming what was presumed to be a secure coding environment into a direct pathway for host compromise.

The macOS Cowork application operates under the privileges of the logged-in user, launching a Linux VM via Apple’s Virtualization framework. Within this VM, the AI agent is placed into an unprivileged session account protected by a permissive seccomp profile. A critical vulnerability emerges because the entire host filesystem is made accessible within the VM through a virtiofs mount.

Exploitation commences when the session user creates a user namespace using the unshare command. This action effectively grants the user capabilities equivalent to root privileges within that specific namespace. This configuration allows the agent to utilize the act_pedit kernel module via a netlink socket, an action permitted by the lenient seccomp filter, which subsequently triggers the autoloading of a vulnerable kernel module.

The Pedit COW Vulnerability and Privilege Escalation

The central vulnerability underpinning this exploit chain is identified as CVE‑2026‑46331, known as “pedit COW.” This publicly documented Ubuntu kernel flaw enables an attacker to corrupt the page cache of files they can access but do not possess modification rights for. By exploiting this bug, the AI agent targets a root-owned binary, altering its in-memory cached image without affecting its on-disk version, thereby circumventing traditional integrity checks.

The root daemon, coworkd, eventually re-executes the compromised binary during its routine operations. When this occurs, the daemon inherits the malicious modifications while running with full root privileges. Crucially, safeguards such as NoNewPrivs do not mitigate this privilege escalation scenario, as the executing process already possesses complete root access.

Upon achieving root access within the guest VM, the agent can effortlessly access the hidden filesystem mount, which exposes the host’s root directory. This unprecedented access permits navigation through the host user’s home directory, enabling the compromise of SSH keys, cloud credentials, and other sensitive files. Furthermore, the agent gains the ability to create or modify files and configurations on the host without any user consent.

Researchers successfully executed this full exploit chain, demonstrating that a file written inside the supposed “sandbox” appeared in the host user’s home directory almost immediately. This incident severely undermines the fundamental security assurances of Cowork’s local execution model, highlighting that the problem extends beyond a specific kernel flaw to encompass significant design missteps.

What You Should Do

  • Review and apply any available patches or updates released by the vendor for Claude Cowork.
  • Avoid running untrusted AI agents or code within the Cowork environment until a confirmed fix is in place.
  • Regularly back up critical data, including SSH keys and cloud credentials, and store them securely offline.
  • Implement multi-factor authentication (MFA) for all cloud services and sensitive accounts to add an extra layer of security.
  • Monitor system logs for unusual activity or unauthorized file access, especially within the user’s home directory.

Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.

Tags:

AttackBreachCVEExploitSecurityVulnerability

Share Article

David kimber

David kimber

David is a penetration tester turned security journalist with expertise in mobile security, IoT vulnerabilities, and exploit development. As an OSCP-certified security professional, David brings hands-on technical experience to his reporting on vulnerabilities and security research. His articles often feature detailed technical analysis of exploits and provide actionable defense recommendations. David maintains an active presence in the security research community and has contributed to multiple open-source security tools.

Previous Post

Microsoft detects 7.6B email phishing threats, Teams vishing up 10x

Next Post

Google Chrome Emergency Update Patches Four High-Severity Flaws

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts
Russian Hackers Exploit Critical Zimbra Zero-Day to Steal Emails
July 24, 2026
Decathlon Investigates Alleged Breach of 160 Million Customer Records
July 24, 2026
Critical RubyGems Vulnerabilities Let Attackers Mine Monero and Spread via SSH
July 24, 2026
Top Authors
Marcus Rodriguez
Marcus Rodriguez
Emy Elsamnoudy
Emy Elsamnoudy
David kimber
David kimber
Let's Connect
156k
2.25m
285k

Related Posts

Jennifer sherman
By Jennifer sherman
Threats

GlassWorm Attacks macOS via Malicious VS Code…

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Attacks

ClickFix Attack Hides Malicious Code via Stegan Security

January 1, 2026
Sarah simpson
By Sarah simpson
Vulnerabilities

MongoBleed Detector Tool Released to Detect MongoDB Vulnerability(CVE-2025-14847)

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Breaches

Conti Ransomware Gang Leaders & Infrastructure Exposed

January 1, 2026
Hackers News Hackers News
  • [email protected]

Quick Links

  • Contact Us
  • Privacy Policy
  • Terms of service

Categories

Attacks
Breaches
Comparisons
CyberSecurity News
Threats
Vulnerabilities

Let's keep in touch

receive fresh updates and breaking cyber news every day and week!

All Rights Reserved by HackersRadar ©2026

Follow Us