Skip to content
Heist/ feed
Back to feed
High

Model Context Protocol Servers Vulnerable to Path Validation Bypass via Prefix Matching and Symlink Handling

Type: advisorySources: OSV

Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). Versions of Filesystem prior to 0.6.4 or 2025.7.01 could allow access to unintended files via symlinks within allowed directories. Users are advised to upgrade to 0.6.4 or 2025.7.01 resolve.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-53109
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 19:25 UTC · Revision 1

Source evidence

Model Context Protocol Servers Vulnerable to Path Validation Bypass via Prefix Matching and Symlink Handling

core-osv · Original source

Published 2 Jul 2025, 14:30 UTC

Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). Versions of Filesystem prior to 0.6.4 or 2025.7.01 could allow access to unintended files via symlinks within allowed directories. Users are advised to upgrade to 0.6.4 or 2025.7.01 resolve.

osv:CVE-2025-53109
Complete source record
{
  "id": "a93e5c4f3736ddb4f57dcdd9d56c762b1938d8007674eecb016a533d7fad783a",
  "url": "https://osv.dev/vulnerability/CVE-2025-53109",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Model Context Protocol Servers Vulnerable to Path Validation Bypass via Prefix Matching and Symlink Handling",
    "summary": "Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). Versions of Filesystem prior to 0.6.4 or 2025.7.01 could allow access to unintended files via symlinks within allowed directories. Users are advised to upgrade to 0.6.4 or 2025.7.01 resolve.",
    "evidence": "osv:CVE-2025-53109",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-53109",
      "aliases": [
        "CVE-2025-53109",
        "GHSA-q66q-fx2p-7w4m"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/modelcontextprotocol/servers",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d00c60df9d74dba8a3bb13113f8904407cda594f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "d00c60df9d74dba8a3bb13113f8904407cda594f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "typescript-servers-0.6.2",
            "python-servers-0.6.2",
            "typescript-servers-0.6.1",
            "typescript-servers-0.6.0",
            "python-servers-0.6.1",
            "0.5.1",
            "0.5.0",
            "0.4.1",
            "0.4.0",
            "0.3.1",
            "0.3.0",
            "0.2.0",
            "0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-53109.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.864643399Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53109.json",
        "https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-q66q-fx2p-7w4m",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-53109",
        "https://github.com/modelcontextprotocol/servers/commit/d00c60df9d74dba8a3bb13113f8904407cda594f"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-59"
        ],
        "cna_assigner": "GitHub_M",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.6.4"
                  },
                  {
                    "fixed": "2025.7.01"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.6.4"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/53xxx/CVE-2025-53109.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-53109",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506143,
  "published_at": "2025-07-02T14:30:57.647+00:00"
}