Advisory published

XYZ-2026-00268

Security fix released in @modelcontextprotocol/server-filesystem 2.4.0

Low severity@modelcontextprotocol/server-filesystemfixed in 2.4.0
the timeline of this fixnpm · @modelcontextprotocol/server-filesystem · dates in UTC

Flagged in the source code

CyberXYZ spotted this security fix in the package's source code on 18 Nov 2026. The maintainers confirmed it in public as GHSA-rq2p-q7c4-6g27.

  1. CyberXYZ flagged the fix
  2. Advisory published

What this is

A security fix CyberXYZ found in the package's source code before a public advisory named it. The maintainers' advisory, named beside this text, describes the bug.

What to do

A security fix was released in @modelcontextprotocol/server-filesystem 2.4.0. Upgrade to 2.4.0 or later.

npm install @modelcontextprotocol/server-filesystem@2.4.0
XYZ-2026-00268.json · OSV
{
  "id": "XYZ-2026-00268",
  "summary": "Security fix released in @modelcontextprotocol/server-filesystem 2.4.0",
  "aliases": [
    "GHSA-rq2p-q7c4-6g27"
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@modelcontextprotocol/server-filesystem"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.4.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/modelcontextprotocol/servers/commit/89b1152805e832371219d27fb9ef885e5a325dfb"
    },
    {
      "type": "FIX",
      "url": "https://github.com/modelcontextprotocol/servers/commit/becd9882df22b70204091ad8ffaeeb3707baf487"
    }
  ],
  "credits": [
    {
      "name": "CyberXYZ Security Threat Intel Team",
      "contact": [
        "https://cyberxyz.io"
      ],
      "type": "ANALYST"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-367"
    ]
  }
}

An excerpt of this record in the OSV format, for tools that read advisories. The full record as JSON.

The bug was found and fixed by the package's maintainers. CyberXYZ flagged the fix in the source and recorded the release that carries it. All CyberXYZ Advisories · The @modelcontextprotocol/server-filesystem report


Think this record is wrong? Tell us; we respond within 2 business days.