GHSA-q66q-fx2p-7w4m

Suggest an improvement
Source
https://github.com/advisories/GHSA-q66q-fx2p-7w4m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-q66q-fx2p-7w4m/GHSA-q66q-fx2p-7w4m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-q66q-fx2p-7w4m
Aliases
Published
2025-07-01T20:13:56Z
Modified
2025-07-02T18:56:39Z
Severity
  • 7.3 (High) CVSS_V4 - 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 CVSS Calculator
Summary
@modelcontextprotocol/server-filesystem allows for path validation bypass via prefix matching and symlink handling
Details

Versions of Filesystem prior to 0.6.3 & 2025.7.1 could allow access to unintended files via symlinks within allowed directories. Users are advised to upgrade to 2025.7.1 to resolve.

Thank you to Elad Beber (Cymulate) for reporting these issues.

Database specific
{
    "github_reviewed_at": "2025-07-01T20:13:56Z",
    "cwe_ids": [
        "CWE-59"
    ],
    "nvd_published_at": "2025-07-02T15:15:27Z",
    "severity": "HIGH",
    "github_reviewed": true
}
References

Affected packages

npm / @modelcontextprotocol/server-filesystem

Package

Name
@modelcontextprotocol/server-filesystem
View open source insights on deps.dev
Purl
pkg:npm/%40modelcontextprotocol/server-filesystem

Affected ranges

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

npm / @modelcontextprotocol/server-filesystem

Package

Name
@modelcontextprotocol/server-filesystem
View open source insights on deps.dev
Purl
pkg:npm/%40modelcontextprotocol/server-filesystem

Affected ranges

Type
SEMVER
Events
Introduced
2025.1.14
Fixed
2025.7.1