CVE-2025-67364
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
fast-filesystem-mcp (npm)up to 3.4.0GitHub Advisory Database
efforthye fast-filesystem-mcp3.4.0NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-24

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

Sources

SourceRecordLicence
CVE ListCVE-2025-67364 changed 2026-01-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-j893-m93w-jwjw changed 2026-02-03CC-BY-4.0
NVDCVE-2025-67364 changed 2026-11-04Public domain