Skip to content
EventPast event

MCP reference servers v2.4.0 fix six vulnerabilities across three servers

9 reports1 reporting sourcesLatest report

Start here

AI overview

MCP reference servers release v2.4.0, fixing six vulnerabilities across three servers; @modelcontextprotocol/server-filesystem must be upgraded to 2.3.0, and mcp-server-git and mcp-server-fetch to 2026.11.11. filesystem fixed an out-of-bounds read caused by a directory being swapped for a symbolic link between the access check and the read (on Windows the race was only narrowed, not fully closed), and an issue where move_file could bring external files into an allowed directory. The fetch server fixed IPv6 site-local addresses fec0::/10 being treated as public addresses, and made robots.txt match against the resolved path, blocking bypasses of Disallow: /private such as //private. TypeScript servers have switched from date versions to semantic versions; users of date versions must explicitly install 2.3.0.

Generated by AI from reports · Updated 17 days ago

Storyline

Developments on the same subject and issue, from earliest to latest

2 events
  1. · 1 reports· Attention40
    MCP fetch server SSRF vulnerability CVE-2026-104120 has no fix
  2. · 9 reports· Attention44

    MCP reference servers v2.4.0 fix six vulnerabilities across three serversThis event

Latest developments

3 developments
  1. · 7 reports
    MCP reference service v2.4.0 fixes six vulnerabilities
    MCP Reference Servers: MCP fileserver fixes out-of-bounds read in move operation
  2. · 1 report
    MCP Git server fix does not cover Windows directory junctions
    MCP Reference Servers: MCP Git fix still leaves Windows directory junction issue
  3. · 1 report
    mcp-server-fetch SSRF protection classifier misses IPv6 addresses
    MCP Reference Servers: Reporter states that mcp-server-fetch's SSRF guardrail misses IPv6 site-local addresses, and retracts a mislabeled CVE number

Progress timeline

Nov 11
  1. MCP Reference Servers
    MCP Fetch fixes IPv6 classification gap; default host reachability is low

    The SSRF protection in mcp-server-fetch has an IPv6 classification gap: it misjudges the site-local address fec0::1 as public, and a fetch sent to that address can bypass the protection that should reject non-public targets (GHSA-3rxj-6jhw-qfv7). The cause is that _is_public_address omits fec0::/10 and ::ffff:0:0/96 and falls back to the ip.is_global determination. Affected versions are 2026.10.10 and above, before 2026.11.11; it was fixed in 2026.11.11. Severity is Low; default hosts usually have no fec0::/10 route and the connection times out, so this is a classification-correctness and defense-in-depth gap, not a confirmed metadata service exploit.

  2. MCP Reference ServersSelected
    MCP Git server fixes command execution vulnerability in read-only tools

    The MCP reference server mcp-server-git fixes an arbitrary command execution vulnerability (GHSA-6hqx-gqrx-c5r2, CVSS 4.0 score 7.0); versions before 2026.11.11 are affected, and it is fixed in 2026.11.11. When the server runs Git commands, it does not neutralize the repository's own .git/config; after an attacker plants a command in a malicious repository's config via core.fsmonitor or diff.external, merely invoking the read-only tools git_status and git_diff_unstaged executes that program with the MCP server's privileges, inheriting its environment variables (including credentials in the client's env block), without triggering client approval or a sandbox, and the tool returns results that look normal. This vulnerability belongs to the GitSpawn class; GitHub Copilot CLI (CVE-2026-45033), Goose, and Hermes Agent have had similar CVEs.

  3. MCP Reference ServersSelected
    MCP file server discloses check-then-use symlink race vulnerability

    The MCP reference file server @modelcontextprotocol/server-filesystem discloses GHSA-p9cv-8g75-4xcg: read_text_file first validates the path and then reopens it by name; a local attacker, between validation and opening, swaps a directory within the allowed directory for a symlink pointing outside, which can cause the server to return file contents outside allowedDirectories; versions before 2.3.0 are affected, it has been fixed in 2.3.0, and the old version line from 2025.1.14 to 2026.8.31 has no fix yet. The root cause is that the directory anchoring fix in 2.0.1 for write operations did not cover read paths, and headFile and tailFile likewise open by path name. In the advisory's two-user Linux reproduction, an attacker user who was denied direct reading of the target file by EACCES obtained a 24-byte random secret through the server, with 13 leaks in 200 calls; static symlinks and direct external paths were both rejected.

  4. MCP Reference Servers
    MCP Git fix still leaves Windows directory junction issue

    The fix in mcp-server-git 2026.11.11 for GHSA-q74p-4wrc-q7w6 does not cover Windows directory junctions: junctions are not checked as symbolic links, and Git will still follow junctions pointing outside the repository, affecting Windows only. It is recommended to treat junctions as symbolic links, detect them with is_junction() on Python 3.12+, and reject them if they resolve outside the repository.

  5. MCP Reference ServersSelected
    MCP Fetch fixes robots.txt path matching gap

    The MCP reference implementation mcp-server-fetch published security advisory GHSA-f9hh-cmx9-2f23, disclosing that its robots.txt check matches the request path exactly as spelled by the client, whereas common origin servers first collapse duplicate slashes, decode separator and dot escapes, and remove . and .. segments before responding; therefore a Disallow: /private rule can be bypassed with alternative spellings such as //private and /a%2f..%2fprivate, and autonomous model fetching can still retrieve pages the site forbids crawling. The advisory rates it Low; it does not involve authentication bypass, SSRF or RCE, and its root cause differs from the already-fixed redirect per-hop recheck gap GHSA-3jqg-r5pp-rmp2. The gap was confirmed in testing on version 2026.11.4; affected versions are 0.6.1 and above, before 2026.11.11, and it was fixed in 2026.11.11.

  6. MCP Reference ServersSelected
    mcp-server-git patches --repository repository boundary bypass and discloses Windows residual risk

    mcp-server-git released version 2026.11.11, fixing two --repository repository boundary bypasses disclosed in GHSA-q74p-4wrc-q7w6; affected versions are 2026.10.28 and later, and before 2026.11.11, with earlier versions covered by GHSA-w766-5x43-whvw. In the first, an attacker only needs to write a plain-text objects/info/alternates redirection file within an allowed directory to make tool calls such as git_show and git_diff read the commit contents and history of an external repository; in the second, by exploiting a flaw in which git_dir and common_dir are merged into the same set for validation in the linked worktree scenario, after writing a gitdir pointer file in a nested directory, calls such as git_reset and git_commit can be used to modify the main repository's HEAD, index and other state outside the restricted scope.

  7. MCP Reference ServersSelected
    MCP fileserver fixes out-of-bounds read in move operation

    The move_file handler of the MCP reference fileserver @modelcontextprotocol/server-filesystem has a TOCTOU race vulnerability (GHSA-7m4x-rv66-mxhh): a local cooperating process can move a file from outside the allowed directory into the directory and read it in full. The vulnerability stems from the same-device rename path not pinning the source path: the handler first validates the source and destination, then passes the source path as an absolute string to fs.renameSync for the kernel to resolve at rename time; a local process, within the window after validation, swaps the source path's parent directory for a symlink pointing outside, so the rename moves the external file into the pinned destination directory, after which all read tools can return its contents, and the file at its original location is deleted at the same time. npm package versions before 2.3.0 are affected; it is fixed in 2.3.0, and no fixed version exists yet in the interval from 2025.1.14 to 2026.8.31; the report only claims the POSIX import form, and the Windows export variant was not dynamically verified.

Nov 8
  1. MCP Reference Servers
    Reporter states that mcp-server-fetch's SSRF guardrail misses IPv6 site-local addresses, and retracts a mislabeled CVE number

    Reporter ShieldPi states that the SSRF guardrail function _is_public_address in mcp-server-fetch 2026.11.4 and 2026.10.24 unwraps IPv4-mapped and NAT64 address forms, but omits the deprecated IPv6 site-local prefix fec0::/10; the ip.is_global it relies on returns True for fec0::1, so the guardrail allows requests to non-public destination addresses, corresponding to CWE-918. The issue was successfully reproduced on both versions; in a test matrix of 36 cases, the remaining loopback, RFC1918, link-local, and various redirect forms were all correctly rejected. The reporter states that accessing fec0::1 on modern kernels usually times out, so actual reachability is low; this is a classifier correctness gap rather than a verified metadata service exploit.

Date not provided
  1. Date not given
    MCP Reference ServersSelected
    MCP reference servers v2.4.0 fix six vulnerabilities across three servers

    MCP reference servers release v2.4.0, fixing six vulnerabilities across three servers; @modelcontextprotocol/server-filesystem must be upgraded to 2.3.0, and mcp-server-git and mcp-server-fetch to 2026.11.11. filesystem fixed an out-of-bounds read caused by a directory being swapped for a symbolic link between the access check and the read (on Windows the race was only narrowed, not fully closed), and an issue where move_file could bring external files into an allowed directory. The fetch server fixed IPv6 site-local addresses fec0::/10 being treated as public addresses, and made robots.txt match against the resolved path, blocking bypasses of Disallow: /private such as //private. TypeScript servers have switched from date versions to semantic versions; users of date versions must explicitly install 2.3.0.