GHSA-hc55-p739-j48w

Suggest an improvement
Source
https://github.com/advisories/GHSA-hc55-p739-j48w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-hc55-p739-j48w/GHSA-hc55-p739-j48w.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-hc55-p739-j48w
Aliases
Published
2025-07-01T20:14:00Z
Modified
2025-07-02T18:57:22Z
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 vulnerability allows for path validation bypass via colliding path prefix
Details

Versions of Filesystem prior to 0.6.3 & 2025.7.1 could allow access to unintended files in cases where the prefix matches an allowed directory. Users are advised to upgrade to 2025.7.1 to resolve the issue.

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

Database specific
{
    "severity": "HIGH",
    "nvd_published_at": "2025-07-02T15:15:27Z",
    "github_reviewed": true,
    "github_reviewed_at": "2025-07-01T20:14:00Z",
    "cwe_ids": [
        "CWE-22"
    ]
}
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