GHSA-j893-m93w-jwjw

Suggest an improvement
Source
https://github.com/advisories/GHSA-j893-m93w-jwjw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-j893-m93w-jwjw/GHSA-j893-m93w-jwjw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j893-m93w-jwjw
Aliases
Published
2026-01-07T18:30:26Z
Modified
2026-02-03T03:16:11.034709Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
fast-filesystem-mcp has a Path Traversal vulnerability
Details

fast-filesystem-mcp version 3.4.0 contains a critical path traversal vulnerability in its file operation tools including fastreadfile. 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.

Database specific
{
    "github_reviewed": true,
    "nvd_published_at": "2026-01-07T17:16:01Z",
    "cwe_ids": [
        "CWE-24"
    ],
    "github_reviewed_at": "2026-01-08T17:18:26Z",
    "severity": "HIGH"
}
References

Affected packages

npm / fast-filesystem-mcp

Package

Name
fast-filesystem-mcp
View open source insights on deps.dev
Purl
pkg:npm/fast-filesystem-mcp

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
3.4.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-j893-m93w-jwjw/GHSA-j893-m93w-jwjw.json"