Cyber Security News

Anthropic MCP Server Flaw Allows Sandbox Escape and Code Execution

Two newly disclosed vulnerabilities in Anthropic’s Filesystem Model Context Protocol (MCP) Server—CVE-2025-53110 and CVE-2025-53109—have exposed AI-powered environments to severe risks, including sandbox escapes, unauthorized file access, and arbitrary code execution.

These flaws, discovered by Cymulate Research Labs, highlight urgent security challenges as MCP adoption accelerates in enterprise and developer ecosystems.

Anthropic’s Model Context Protocol (MCP) is rapidly becoming the standard for enabling large language model (LLM) clients, such as Claude Desktop, to interact with external data and tools.

The Filesystem MCP Server, a Node.js-based implementation, is designed to restrict file operations to a set of “allowed directories,” theoretically keeping the AI’s access safely sandboxed.

The Vulnerabilities

CVE IDName/TypeCVSS ScorePatched Version
CVE-2025-53110Directory Containment Bypass7.30.6.3 / 2025.7.1
CVE-2025-53109Symlink Bypass to Code Exec8.40.6.3 / 2025.7.1

CVE-2025-53110: Directory Containment Bypass

The Filesystem MCP Server checks if a requested path starts with an allowed directory prefix. Attackers can exploit this by crafting paths like /private/tmp/allow_dir_sensitive, which pass the check but lie outside the intended sandbox.

This enables unrestricted listing, reading, and writing of files beyond the designated boundary—potentially leading to data breaches and privilege escalation.

CVE-2025-53109: Symlink Bypass to Code Execution

A more severe flaw lies in the server’s symlink resolution logic. Attackers can create symlinks within the allowed directory (or a prefix-bypassed directory) that point anywhere on the filesystem, such as /etc/sudoers.

Due to improper error handling, the server validates the symlink’s parent directory rather than its real target, allowing attackers to read or overwrite critical system files.

This can be chained to achieve arbitrary code execution, for example by writing malicious macOS Launch Agent plists, leading to full system compromise if the server runs with elevated privileges.

Recommended Actions

  • Update Immediately: Upgrade to Filesystem MCP Server version 0.6.3 or 2025.7.1, which patch both vulnerabilities.
  • Enforce Least Privilege: Run all MCP-related services with minimal necessary permissions.
  • Validate Defenses: Use exposure validation platforms to simulate these attacks and confirm detection of directory and symlink abuses.

With MCP’s ecosystem rapidly expanding, these vulnerabilities underscore the need for robust security reviews and swift patch adoption to protect sensitive environments from emerging AI-driven threats.

Exclusive Webinar Alert: Harnessing Intel® Processor Innovations for Advanced API Security – Register for Free

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

21 hours ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago