7.5high
fast-filesystem-mcp has a Path Traversal vulnerability
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.63% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-j893-m93w-jwjw
Description
fast-filesystem-mcp version 3.4.0 contains a critical path traversal vulnerability in its file operation tools including fast_read_file. This vulnerability arises from improper path validation that fails to resolve symbolic links to their actual physical paths. The safePath and isPathAllowed functions use path.resolve() which does not handle symlinks, allowing attackers to bypass directory access restrictions by creating symlinks within allowed directories that point to restricted system paths. When these symlinks are accessed through valid path references, the validation checks are circumvented, enabling access to unauthorized files.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| fast-filesystem-mcp (npm) | up to 3.4.0 | GitHub Advisory Database |
| efforthye fast-filesystem-mcp | 3.4.0 | NVD |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
fast-filesystem-mcp version 3.4.0 contains a critical path traversal vulnerability in its file operation tools including fast_read_file. This vulnerability arises from improper path validation that fails to resolve symbolic links to their actual physical paths. The safePath and isPathAllowed functions use path.resolve() which does not handle symlinks, allowing attackers to bypass directory access restrictions by creating symlinks within allowed directories that point to restricted system paths. When these symlinks are accessed through valid path references, the validation checks are circumvented, enabling access to unauthorized files.
NVD (es)
fast-filesystem-mcp versión 3.4.0 contiene una crítica vulnerabilidad de salto de ruta en sus herramientas de operación de archivos, incluyendo fast_read_file. Esta vulnerabilidad surge de una validación de ruta inadecuada que no logra resolver los enlaces simbólicos a sus rutas físicas reales. Las funciones safePath e isPathAllowed usan path.resolve() que no maneja enlaces simbólicos, permitiendo a los atacantes eludir las restricciones de acceso a directorios mediante la creación de enlaces simbólicos dentro de directorios permitidos que apuntan a rutas de sistema restringidas. Cuando se accede a estos enlaces simbólicos a través de referencias de ruta válidas, se eluden las comprobaciones de validación, permitiendo el acceso a archivos no autorizados.
References
| https://github.com/efforthye/fast-filesystem-mcp/issues/10 | exploit, issue-tracking, web | |
| https://github.com/efforthye/fast-filesystem-mcp | package, product | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-67364 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-67364 changed 2026-01-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j893-m93w-jwjw changed 2026-02-03 | CC-BY-4.0 |
| NVD | CVE-2025-67364 changed 2026-11-04 | Public domain |