MCP reference‑server v2.5.0 patches eight security flaws
The Model Context Protocol releases version 2.5.0, fixing eight vulnerabilities across its Git, filesystem and everything servers.
Key takeaways
- MCP reference‑server v2.5.0 fixes six Git‑related advisories and two server‑wide issues.
- The filesystem package must be upgraded manually to @modelcontextprotocol/server-filesystem@2.4.0 because semantic versioning ranks it below prior date‑based releases.
- The everything server now validates IPv4 addresses embedded in NAT64‑derived IPv6 ranges to stop private‑address exposure.
The Model Context Protocol (MCP) released reference‑server version 2.5.0 on 21 November 2026, addressing eight security vulnerabilities across its Git, filesystem and everything server packages.
Git server hardening
Six advisories affecting the mcp-server‑git package were resolved, according to Forkast. Automatic maintenance and garbage‑collection hooks are now disabled (maintenance.auto=false, gc.auto=0) to prevent privileged hook execution during merges.
Lazy fetching is blocked by setting GIT_NO_LAZY_FETCH=1 and rejecting promisor remotes on older Git versions, stopping unauthorized program launches when missing objects are retrieved.
Driver handling now rereads filter and merge drivers before each Git command, and empty‑name drivers are cleared to eliminate potential exploitation paths.
Index path validation has been added, disabling the untracked cache and ensuring crafted index entries cannot expose file paths outside the repository.
Submodule configuration now forces diff.submodule=short, overrides drivers and rejects Git versions earlier than 2.33 for repositories with checked‑out submodules, preventing nested program execution.
Filesystem and everything server fixes
The filesystem server update patches a symlink‑swap flaw in directory‑listing functions (list_directory, list_directory_with_sizes, directory_tree, search_files). Listings are now anchored on Linux and macOS; Windows listings remain unanchored, Forkast notes.
The everything server resolves a NAT64 issue where the gzip‑file‑as‑resource feature treated IPv6 addresses in the 64:ff9b::/96 range as public, potentially exposing private IPv4 endpoints. The patch adds proper validation of the embedded IPv4 address.
Because MCP switched from date‑based versioning to semantic versioning at 1.0.0, package managers rank the new 2.4.0 filesystem release below all 2025.x and 2026.x versions. Operators must manually run npm install @modelcontextprotocol/server-filesystem@2.4.0 to apply the fix.
Upgrade guidance
Forkast advises operators to verify their current versions against the affected ranges: mcp-server‑git is vulnerable through 2026.11.11 and fixed in 2026.11.18; @modelcontextprotocol/server-filesystem is vulnerable in all pre‑2.4.0 releases and fixed in 2.4.0; @modelcontextprotocol/server‑everything is vulnerable through 2.3.0 and fixed in 2.3.1.
Users on date‑based versions should not rely on automatic updates and must execute the npm command to obtain the secured filesystem package.
Sources
- Forkast: MCP Reference-Server v2.5.0 Security Updates Address Eight Vulnerabilities
Not financial advice. Crypto assets are volatile and you can lose money. Read our Financial Risk Disclosure.
Crypto news checked against two or more sources, prices and a daily market brief.
- H100 Group records $1.8 million decline in active Bitcoin pool ahead of buy‑back vote
- Samsung Securities VOC portal breach reveals data of 8,241 clients
- Cardano Foundation’s $5 million 2027 events budget faces five‑fold opposition in treasury vote