Security fixes
v2.6.0 fixes eight vulnerabilities in three servers, and completes two fixes that v2.5.0 left open. Upgrade mcp-server-git to 2026.11.27,
@modelcontextprotocol/server-memory to 2.2.2 and mcp-server-fetch to 2026.11.27; on Windows, also @modelcontextprotocol/server-filesystem to 2.4.1.
| Package | Affected | Fixed in |
|---|---|---|
mcp-server-git
| through 2026.11.18 | 2026.11.27 |
@modelcontextprotocol/server-memory
| 1.0.0 through 2.2.1 | 2.2.2 |
mcp-server-fetch
| 2026.10.10 through 2026.11.18 | 2026.11.27 |
@modelcontextprotocol/server-filesystem
| on Windows, through 2.4.0 | 2.4.1 |
mcp-server-git 2026.11.27
- Git LFS no longer runs programs that a repository's configuration names. With Git LFS installed (the official Docker image installs it system-wide), the server kept the LFS filter from the user's own configuration, and Git LFS then read keys from the repository's
.git/configthat name programs (lfs.extension.<name>.cleanand.smudge,lfs.customtransfer.<name>.pathand.args,lfs.standalonetransferagent). The read-onlygit_status, andgit_diff_unstaged,git_diff,git_add,git_checkoutandgit_merge, could run them with the server's privileges. Those keys are now emptied at repository scope, and LFS downloads are turned off (GIT_LFS_SKIP_SMUDGE=1) (GHSA-6663-fm5v-gqm5) - The
--repositoryroot can no longer be pointed at another repository. A root whose.gitfile orcommondirnamed a Git directory elsewhere was accepted as the root's own, sogit_showand the other tools served another repository's content. The root's Git directories are now recorded when the server starts, and must be the root's own: inside it, or those of a linked worktree or submodule checkout that its main repository confirms. A root whose.gitfile names any other Git directory is now refused (GHSA-3whj-m8jj-x97q) git_remoteno longer returns a credential through a crafted remote name or URL. A remote name holding a tab shifted the URL column, and a URL that did not start its value skipped redaction, so with a credential-bearingurl.<base>.insteadOfin the user's own configuration the tool returned that credential. Remote names are now matched againstgit remote's own list, and a value that holds a URL anywhere but at its start is withheld as<redacted>(GHSA-wvv2-676g-r57j)repo_pathis taken literally. GitPython expanded$NAMEand${NAME}in it, and the error for a path that does not exist returned the expanded path, so a tool call could read any environment variable of the server process. Neitherrepo_pathnor--repositoryis expanded now (GHSA-f33v-89w7-f9vc)- Under
--repository, objects are read only from the repository's own store. Anobjects/info/alternatesfile that was empty when the server checked it could be rewritten before Git looked an object up, andgit_showthen returned an object from another repository. Each call now runs Git on a private object directory that links only the repository's own objects, so Git never reads an alternates file. Without--repository, alternates keep working (GHSA-5pwg-5xfw-x322) git_mergerefuses a merge commit that would overwrite ignored local files. Git honors--no-overwrite-ignoreonly on a fast-forward, so a merge of diverged branches replaced an ignored file, such as.env, with the source branch's version and reported success. The server now checks the incoming paths first and refuses the merge, changing nothing (GHSA-qf89-h82f-h5r5)- The
--repositorycheck is repeated after a tool writes the working tree (#5599). This completes GHSA-9vjp-x34c-xg6v from v2.5.0. A checkout or merge can write configuration that moves the repository's working tree outside--repository.git_checkout,git_mergeand the abort after a conflict now check again after writing, and if the check fails they stop without running another Git command
@modelcontextprotocol/server-memory 2.2.2
- A save no longer changes the permissions of a file outside the memory path.
saveGraphset the temporary file's mode and renamed it by path, so an account that can write the graph's directory could swap the temporary name for a symlink and have the graph's mode applied to the link's target. The temporary file is now created exclusively and written and set through its own handle, and a save whose temporary name was replaced is refused (GHSA-48j5-hj63-c82c)
mcp-server-fetch 2026.11.27
- robots.txt rules are also matched against backslash and path-parameter spellings. This completes GHSA-3rxj-6jhw-qfv7. The autonomous fetch matched a disallowed path as spelled and as an nginx- or Apache-style origin resolves it, but not as an origin resolves it that reads
\or%5Cas a separator (IIS, Windows-backed servers) or drops;path parameters (Java servlet containers). Both readings are now checked (GHSA-g7v6-hfx3-8rv6)
@modelcontextprotocol/server-filesystem 2.4.1
- On Windows, a listed directory is checked before and after the read (#5600). This narrows the Windows gap left by GHSA-rq2p-q7c4-6g27 in v2.4.0.
list_directory,list_directory_with_sizes,directory_treeandsearch_filesnow refuse a path with a junction or symlink on it, or one that names a different directory after the read, with "Access denied - a directory on the path changed during the operation". A swap made and undone while the directory is being read is still not detected on Windows. macOS and Linux are unchanged
Upgrading from a date-versioned npm release
The TypeScript servers moved from date versions (2025.x, 2026.x) to semantic versions in 1.0.0. Package managers rank 2.2.2 and 2.4.1 below every 2025.x and 2026.x version, so they won't offer them as an upgrade. If you are on a date version of @modelcontextprotocol/server-memory or @modelcontextprotocol/server-filesystem, install the new version explicitly: npm install @modelcontextprotocol/server-memory@2.2.2 or npm install @modelcontextprotocol/server-filesystem@2.4.1.
Packages
| Package | Version | Registry | In this release |
|---|---|---|---|
@modelcontextprotocol/server-everything
| 2.4.0
| npm | published |
@modelcontextprotocol/server-filesystem
| 2.4.1
| npm | published |
@modelcontextprotocol/server-memory
| 2.2.2
| npm | published |
@modelcontextprotocol/server-sequential-thinking
| 2.2.0
| npm | unchanged |
mcp-server-fetch
| 2026.11.27
| PyPI | published |
mcp-server-git
| 2026.11.27
| PyPI | published |
mcp-server-time
| 2026.11.27
| PyPI | published |
Release ledger: v2/chore/5681-release-v2.6.0
@modelcontextprotocol/server-everything 2.4.0
What's Changed
- test(everything): pin that requestState expires after its 600-second TTL by @cliffhall in #5617
- feat(everything): evict idle Streamable HTTP sessions by @cliffhall in #5630
- chore(release): list each server in the MCP Registry at release time by @cliffhall in #5629
- feat(everything): serve the Events extension (poll and push) on 2026-07-28 by @cliffhall in #5652
- chore: version packages by @github-actions[bot] in #5633
- Release v2.6.0: merge v2/main into main by @cliffhall in #5685
@modelcontextprotocol/server-filesystem 2.4.1
What's Changed
- fix(filesystem): check a listed directory before and after the read on Windows by @cliffhall in #5622
- feat(filesystem): say what an empty search_files result searched, and how to widen the pattern by @cliffhall in #5620
- fix(filesystem): refuse to move a directory into itself with the real reason by @cliffhall in #5618
- chore(release): list each server in the MCP Registry at release time by @cliffhall in #5629
- chore: version packages by @github-actions[bot] in #5633
- Release v2.6.0: merge v2/main into main by @cliffhall in #5685
@modelcontextprotocol/server-memory 2.2.2
What's Changed
- test(memory): pin that no tool removes or repairs a schema-invalid record by @cliffhall in #5619
- test(memory): pin the graph file being destroyed from outside between operations by @cliffhall in #5621
- fix(memory): order every lock hand-off by the breaking guard by @cliffhall in #5623
- test(memory): pin exact read-back at 5,000-entity scale by @cliffhall in #5625
- fix(memory): keep retrying a lock put-back that Windows refuses for a moment by @cliffhall in #5637
- chore(release): list each server in the MCP Registry at release time by @cliffhall in #5629
- test(memory): count heartbeat reads from the lock's replacement, not the operation's resume by @cliffhall in #5638
- fix(memory): GHSA-48j5-hj63-c82c - a race on saveGraph's temporary file can change the permissions of a file outside the memory path by @cliffhall in #5676
- chore: version packages by @github-actions[bot] in #5633
- test(memory): count a real Windows refusal of the lock put-back as a retry by @cliffhall in #5684
- Release v2.6.0: merge v2/main into main by @cliffhall in #5685
mcp-server-fetch 2026.11.27
What's Changed
- chore(release): list each server in the MCP Registry at release time by @cliffhall in #5629
- fix(fetch): GHSA-g7v6-hfx3-8rv6 - robots.txt check misses backslash and path-parameter spellings (incomplete fix for GHSA-3rxj-6jhw-qfv7) by @cliffhall in #5678
- chore: stamp Python CalVer versions for 2026.11.27 by @github-actions[bot] in #5682
- Release v2.6.0: merge v2/main into main by @cliffhall in #5685
mcp-server-git 2026.11.27
What's Changed
- feat(git): say git_log is newest-first and its timestamp filters are optional by @cliffhall in #5626
- fix(git): repeat the --repository check after a tool writes the working tree by @cliffhall in #5627
- fix(git): refuse a Windows junction in a Git directory that leads outside --repository by @cliffhall in #5628
- chore(release): list each server in the MCP Registry at release time by @cliffhall in #5629
- fix(git): GHSA-wvv2-676g-r57j - git_remote credential redaction bypassed by a tab in a remote name or a prefixed URL by @cliffhall in #5674
- fix(git): GHSA-qf89-h82f-h5r5 - git_merge overwrites ignored local files on a merge commit by @cliffhall in #5679
- fix(git): GHSA-6663-fm5v-gqm5 - Git LFS runs programs named in a repository's own configuration by @cliffhall in #5672
- fix(git): GHSA-f33v-89w7-f9vc - repo_path expands environment variables and error messages disclose their values by @cliffhall in #5675
- fix(git): GHSA-3whj-m8jj-x97q - the --repository root can be retargeted to another repository through its .git pointer by @cliffhall in #5673
- fix(git): GHSA-5pwg-5xfw-x322 - a concurrent alternates rewrite lets tools read objects outside --repository by @cliffhall in #5677
- chore: stamp Python CalVer versions for 2026.11.27 by @github-actions[bot] in #5682
- Release v2.6.0: merge v2/main into main by @cliffhall in #5685
mcp-server-time 2026.11.27
What's Changed
- fix(time): keep the host's tzdata path out of invalid-timezone errors by @cliffhall in #5615
- chore(release): list each server in the MCP Registry at release time by @cliffhall in #5629
- chore: stamp Python CalVer versions for 2026.11.27 by @github-actions[bot] in #5682
- Release v2.6.0: merge v2/main into main by @cliffhall in #5685
Repository
What's Changed
- test(sequentialthinking): characterize the absence of a per-item size cap by @cliffhall in #5612
- docs(skills): local-dev states which HTTP endpoints keep a 2025-era session by @cliffhall in #5613
- docs(pr-flow): catch up and re-test before merging when v2/main moved by @cliffhall in #5616
- ci: rename everything-mcp-diff.yml to mcp-interface-diff.yml (step 2) by @cliffhall in #5614
- chore(ci): build, boot and stop each changed server's Docker image by @cliffhall in #5631
Full Changelog: v2.5.0...v2.6.0
Thanks for helping us improve
This release addresses issues and vulnerabilities reported by these community members. Thank you for taking the time to report them:
- @reservoir-cmyk (#5539, #5540, #5541, #5542, #5543)
- @garbleartistry (GHSA-3whj-m8jj-x97q, GHSA-5pwg-5xfw-x322)
- @glyphanchor (GHSA-48j5-hj63-c82c, GHSA-qf89-h82f-h5r5)
- @Tanishq67m (#5552, #5553)
- @3urek4 (GHSA-wvv2-676g-r57j)
- @lacausecrypto (GHSA-f33v-89w7-f9vc)
- @Pierpaolo1223 (#5558, the report and measurements that led to #5630)
- @RahilSahu (GHSA-g7v6-hfx3-8rv6)
- @sholub-dev (GHSA-6663-fm5v-gqm5)
- @soarkit (#5555)