Skip to main content

mark3labs mcp-filesystem-server EUVDEUVD-2026-89359

| CVE-2026-79534 MEDIUM
Improper Link Resolution Before File Access (CWE-59)
2026-09-29 mitre GHSA-9c87-p3cg-99hj
5.9
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Place/locate dangling symlink in allowed dir
  2. Delivery
    Invoke write_file via MCP tool call
  3. Exploit
    validatePath fallback validates only parent
  4. Execution
    Server follows symlink to out-of-sandbox target
  5. Impact
    File 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

Vendor (mitre) PRIMARY 5.9 MEDIUM
AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
vuln.today AI 5.9 MEDIUM

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.

3.1 AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
4.0 AV:L/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
CVSS changed
Sep 30, 2026 - 22:08 NVD
5.9 (None) 5.9 (MEDIUM)
CVE Published
Sep 29, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche open-source Go MCP filesystem server, small though growing deployment footprint
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy