CVE-2025-67366

@sylphxltd/filesystem-mcp v0.5.8 is an MCP server that provides file content reading functionality. Version 0.5.8 of filesystem-mcp contains a critical path traversal vulnerability in its "read_content" tool. This vulnerability arises from improper symlink handling in the path validation mechanism: the resolvePath function checks path validity before resolving symlinks, while fs.readFile resolves symlinks automatically during file access. This allows attackers to bypass directory restrictions by leveraging symlinks within the allowed directory that point to external files, enabling unauthorized access to files outside the intended operational scope.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:sylphx:filesystem_mcp:0.5.8:*:*:*:*:node.js:*:*

History

04 Nov 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) @sylphxltd/filesystem-mcp v0.5.8 es un servidor MCP que proporciona funcionalidad de lectura de contenido de archivos. La versión 0.5.8 de filesystem-mcp contiene una vulnerabilidad crítica de salto de ruta en su herramienta ’read_content’. Esta vulnerabilidad surge de un manejo inadecuado de symlinks en el mecanismo de validación de rutas: la función resolvePath verifica la validez de la ruta antes de resolver los symlinks, mientras que fs.readFile resuelve los symlinks automáticamente durante el acceso a archivos. Esto permite a los atacantes eludir las restricciones de directorio aprovechando symlinks dentro del directorio permitido que apuntan a archivos externos, lo que permite el acceso no autorizado a archivos fuera del alcance operativo previsto.

16 Sep 2026, 18:21

Type Values Removed Values Added
CPE cpe:2.3:a:sylphx:filesystem-mcp:0.5.8:*:*:*:*:node.js:*:* cpe:2.3:a:sylphx:filesystem_mcp:0.5.8:*:*:*:*:node.js:*:*
First Time Sylphx filesystem Mcp

Information

Published : 2026-01-07 17:16

Updated : 2026-11-04 22:10


NVD link : CVE-2025-67366

Mitre link : CVE-2025-67366

CVE.ORG link : CVE-2025-67366


JSON object : View

Products Affected

sylphx

  • filesystem_mcp
CWE
CWE-23

Relative Path Traversal