CVE-2025-53109 — Vulnerability in...
@modelcontextprotocol/server-filesystem allows for path validation bypass via prefix matching and symlink handling
Summary
Advisory Timeline
- First published July 1, 2025 (468 days ago).
- Last revised July 2, 2025 — 1 day after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install @modelcontextprotocol/server-filesystem@2025.7.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| @modelcontextprotocol/server-filesystem | npm | All versions | Range-based data available |
| @modelcontextprotocol/server-filesystem | npm | All versions | 2025.7.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-59
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.2 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:H/SI:H/SA:H
References
Frequently Asked Questions
- What is CVE-2025-53109?
- @modelcontextprotocol/server-filesystem allows for path validation bypass via prefix matching and symlink handling This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.2/10).
- How do I check if my project is affected by CVE-2025-53109?
- CVE-2025-53109 affects @modelcontextprotocol/server-filesystem. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-53109 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2025-49596CRITICAL
MCP Inspector proxy server lacks authentication between the Inspector client and proxy
- CVE-2025-53110HIGH
@modelcontextprotocol/server-filesystem vulnerability allows for path validation bypass via colliding path prefix
- CVE-2026-107375HIGH
JHipster: SQL Injection in the Parameter of JHipster-Generated Reactive (WebFlux + R2DBC) Applicationssort
- CVE-2026-107384HIGH
MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies