Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPlace/locate dangling symlink in allowed dir
-
DeliveryInvoke write_file via MCP tool call
-
ExploitvalidatePath fallback validates only parent
-
ExecutionServer follows symlink to out-of-sandbox target
-
ImpactFile created outside allowed directories
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Requires a pre-existing dangling (broken) symlink located inside one of the server's configured allowed directories; the attacker then triggers one of the write-capable tools (write_file, modify_file, copy_file, move_file, create_directory) targeting a path through that symlink. Exploitation is limited to the local MCP interface (AV:L) and is integrity-only - the attacker gains out-of-sandbox file creation/write but no read access or service denial. The AC:H precondition (a dangling symlink must already exist inside an allowed directory, something not plantable via the flaw itself) materially limits realistic exploitation; no user interaction or authentication is required (PR:N/UI:N) once that condition holds. Only v0.11.1 is confirmed affected from available data. |
| Impact | This is a genuine but low-urgency defense-in-depth flaw, not a high-priority emergency. The vendor CVSS 3.1 vector (AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N = 5.9 Medium) aligns with the SSVC decision framework, which rates Exploitation as 'none' (no observed exploitation, no public exploit identified at time of analysis), Automatable as 'no', and Technical Impact as 'partial' - a coherent, mutually reinforcing low-risk signal. There is no CISA KEV listing, no public POC, and no EPSS score supplied. The AC:H and the local attack vector (AV:L) are the key dampeners: exploitation requires a pre-existing dangling symlink already present inside an allowed directory, which is an unusual precondition the attacker cannot simply create through the vulnerable code path alone. Impact is integrity-only (I:H, C:N/A:N) - the attacker can write/create files outside the sandbox but not read data or deny service. The S:C (scope change) correctly reflects that a successful write escapes the MCP server's configured sandbox and lands on the broader host filesystem. One data gap to verify: CPE and EUVD affected-version metadata are placeholders ('n/a'), so only the description's named version (v0.11.1) is confirmed as affected; the fixed version is not stated in the provided data. |
| Exploit ScenarioDerived | An MCP client - potentially an LLM agent steered via prompt injection or a malicious tool invocation - calls write_file (or modify_file/copy_file/move_file/create_directory) against a path that routes through a dangling (broken) symlink already sitting inside an allowed directory. Because validatePath only validates the parent directory when EvalSymlinks reports the target as non-existent, the server writes the file to the symlink's unresolved out-of-sandbox target, planting attacker-controlled content outside the configured allowed directories. No public exploit code or active exploitation has been identified; the local attack vector and the requirement for a pre-existing dangling symlink (AC:H) make this a constrained, non-automatable attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
A directory traversal flaw in mark3labs mcp-filesystem-server v0.11.1 lets a caller write files outside the server's configured allowed directories by routing a write-capable tool through a pre-existing dangling symlink that already sits inside an allowed path. The bug is integrity-only (no read or denial-of-service impact) and requires the broken symlink to exist beforehand, which limits realistic exploitation; the only confirmed affected version from available data is v0.11.1. There is no public exploit identified at time of analysis, SSVC records Exploitation: none, and no vendor-released patch was identified in the supplied data, making this a low-urgency defense-in-depth issue rather than an emergency.
RemediationAI
No vendor-released patch was identified at time of analysis, so there is no fixed version to upgrade to and the primary action is to eliminate the precondition and shrink the attack surface. First, ensure no dangling symlinks exist inside any configured allowed directory, since the flaw cannot be triggered without a pre-existing broken link: scan roots regularly (for example, find <allowed-dir> -type l ! -exec test -e {} \; -print) and delete or repair broken links, and prevent untrusted or externally writable directories (shared folders, extract targets, build output) from being used as allowed roots, at the cost of reduced convenience for legitimate workflows that rely on symlink farms. Second, point the server at the narrowest set of write-enabled directories possible and, where the workload permits, run it with read-only mounts for directories that never need writes. Third, run the server as an unprivileged account or inside a container with only the intended directories bind-mounted, so that an out-of-sandbox write lands in a low-value location; the trade-off is that this only contains the impact rather than eliminating the traversal. Because the issue is limited to the local MCP interface with no authentication or user interaction required (PR:N/UI:N), restricting who and what can drive that interface is also effective. Monitor the advisory at https://www.traceforce.ai/security-advisories/cve-2026-79534 and the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-79534 for an upstream fix, and treat any patch or commit reference as unconfirmed until a tagged release is published.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-59 (Improper Link Resolution Before File Access, or 'link following'), implemented in validatePath within filesystemserver/handler/helper.go. The function resolves candidate paths with filepath.EvalSymlinks so that writes are confined to the allowed directory list. EvalSymlinks fails with os.IsNotExist when the target is a dangling (broken) symlink, and the code's fallback path then validates only the parent directory and returns the unresolved path to the caller. Because the dangling symlink itself lives inside an allowed directory, the parent-directory check passes, and the subsequent file creation follows the symlink to a destination outside the sandbox. The affected operations are the write-capable MCP tools write_file, modify_file, copy_file, move_file and create_directory. The CVSS:3.1 vector AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N reflects that the flaw is reachable only through the local MCP interface, needs no authentication or user interaction (PR:N/UI:N), scores high on integrity, has no confidentiality or availability impact, and crosses a security scope boundary (S:C) by escaping the configured allowed-directory sandbox. The supplied CPE string is a placeholder (cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*) and the ENISA EUVD record lists the version as 'n/a n/a', so version attribution rests on the advisory statement that v0.11.1 is affected.
Know when Mcp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Local MCP interface (AV:L); AC:H because a pre-existing dangling symlink in an allowed dir is required; PR:N/UI:N; S:C and I:H for out-of-sandbox file writes; no read or availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
mark3labs mcp-filesystem-server v0.11.1 is vulnerable to Directory Traversal due to an improper link resolution in validatePath (filesystemserver/handler/helper.go). When filepath.EvalSymlinks returns os.IsNotExist for a dangling symlink, the fallback validates only the parent directory and returns the unresolved path, so write_file (and modify_file, copy_file, move_file, create_directory) follows a pre-existing dangling symlink located inside an allowed directory and creates a file outside the configured allowed directories.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Path traversal in the create_file tool served by the 03-lovepreetSingh MCP application's /api/mcp route lets remote, una
Authenticated attackers holding Subscriber-level (or higher) WordPress accounts can escalate themselves to Administrator
Arbitrary file write outside indexed repository roots in Gortex, an MCP code-intelligence server, affects all versions p
Unauthenticated arbitrary file read in Code Graph RAG (the code-graph-rag package) affects all versions prior to 0.0.345
Path traversal through dangling symlinks in anshupriyan CLI Bridge prior to 0.0.2 lets attackers who can drive the write
Server-side request forgery in fast-mcp-telegram prior to version 30.1 allows an authenticated MCP client (CVSS PR:L) to
OS command injection in the Git Remove MCP Tool of 0xshariq github-mcp-server (all revisions up to commit 52e764a7d66eac
OS command injection in mbailey VoiceMode through version 8.10.1 lets an authenticated local attacker who can reach the
The DOMShell MCP server before 2.0.8 misclassifies its domshell_eval tool as read-tier, allowing an MCP caller with tool
EUVD-2026-89359
GHSA-9c87-p3cg-99hj
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB