MCP Reference-Server v2.5.0 Security Updates Address Eight Vulnerabilities The Model Context Protocol reference-server v2.5.0 release patches eight vulnerabilities across three server packages: mcp-server-git (affected through 2026.11.11, fixed in 2026.11.18), @modelcontextprotocol/server-filesystem (affected before 2.4.0 and in date versions 2025.1.14 through 2026.8.31, fixed in 2.4.0), and @modelcontextprotocol/server-everything (affected through 2.3.0, fixed in 2.3.1). Six Git advisories are addressed by setting maintenance.auto=false and gc.auto=0, enforcing GIT_NO_LAZY_FETCH=1, clearing empty-name filter and merge drivers, validating index paths, forcing diff.submodule=short, and refusing Git versions older than 2.33 for repositories with checked-out submodules. Because the filesystem package moved from date-based versioning to semantic versioning at 1.0.0, package managers rank 2.4.0 below every 2025.x and 2026.x version, so users must run `npm install @modelcontextprotocol/server-filesystem@2.4.0` to upgrade. The Model Context Protocol MCP https://forkast.news/glossary/mcp-security/ reference-server v2.5.0 release https://github.com/modelcontextprotocol/servers/releases/tag/v2.5.0 introduces security updates across three distinct server packages. These updates strengthen security boundaries within the Git, filesystem, and everything servers. This guidance provides a technical overview of the necessary upgrades and the specific mechanics of the addressed vulnerabilities. Package Upgrade Requirements Operators should verify their current versions against the following affected and fixed ranges: - mcp-server-git : Affected through 2026.11.11; fixed in 2026.11.18. - @modelcontextprotocol/server-filesystem : Affected in all versions before 2.4.0 and date versions 2025.1.14 through 2026.8.31; fixed in 2.4.0. - @modelcontextprotocol/server-everything : Affected through 2.3.0; fixed in 2.3.1. A specific upgrade challenge exists for the filesystem package. Because the project previously used date-based versioning e.g., 2025.x, 2026.x and transitioned to semantic versioning at 1.0.0, package managers rank the new 2.4.0 version below every 2025.x and 2026.x version. Consequently, these will not be offered as automatic upgrades for installations using date-based versioning. To update, users must run: npm install @modelcontextprotocol/server-filesystem@2.4.0 . Git Server Security Mechanics The release addresses six Git-related advisories by tightening how the server interacts with repository configurations: - Maintenance and Garbage Collection : Previously, successful merges could trigger automatic maintenance and a repository’s gc.recentObjectsHook , potentially executing hooks with server privileges. The update sets maintenance.auto=false and gc.auto=0 for all Git commands. Maintenance fix https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-h2g3-rwxm-xfm3 - Lazy Fetching : Lazy fetching is the process of retrieving missing objects on demand. Previously, repository configuration could cause a read-only Git tool to start a program during this process. The server now sets GIT NO LAZY FETCH=1 and rejects promisor remotes if the Git version is too old to support this flag. Fetch fix https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-87qg-cmw8-jc5m - Driver Hardening : An included configuration file could be created by a merge or checkout and activate a filter or merge driver on a subsequent Git process. The server now rereads drivers before executing Git commands. Note that the --repository confinement check is not yet repeated after such a write. Driver fix https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-9vjp-x34c-xg6v - Empty-Name Drivers : Git accepts an empty driver name, which could be exploited. The server now explicitly clears empty-name filter and merge drivers. Empty-name fix https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-pm7p-vphh-2cg7 - Index Path Validation : A crafted index entry outside the working tree could make read-only diff tools return file contents and git status disclose path existence under --repository . The server now validates index paths and disables the untracked cache. Index fix https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-r2q8-f657-4r56 - Submodule Configuration : Submodule configuration could run programs in nested operations. The update forces diff.submodule=short , overrides drivers, and refuses Git versions older than 2.33 for repositories with checked-out submodules. Submodule fix https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-8wv7-r664-7594 Filesystem and Everything Server Fixes The filesystem server https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-rq2p-q7c4-6g27 update addresses a vulnerability where directory listing functions—specifically list directory , list directory with sizes , directory tree , and search files —could follow a symlink swap. A symlink swap occurs when a directory is replaced by a symbolic link after validation, potentially returning entries outside the intended scope. The fix anchors these listings on Linux and macOS; however, the release notes specify that listings are not yet anchored on Windows. The everything server https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-38j4-j742-j7r3 fix addresses a NAT64-related issue. NAT64 is a mechanism that allows IPv6-only networks to communicate with IPv4-only servers. Previously, the gzip-file-as-resource feature treated certain IPv6 addresses in the 64:ff9b::/96 range as public, which could allow a URL to reach a private IPv4 address when using a NAT64 gateway. The update now correctly validates the embedded IPv4 address.