Skip to content

[v2] @modelcontextprotocol/server 2.4.0 inlines fast-uri 3.1.8, which has 4 advisories published 2026-10-23 #3109

Closed as duplicate

Description

@iroha924

What happened?

Thanks for #3083 and 2.4.0: the bundled copy is now fast-uri 3.1.8, which clears the nine advisories in #2966.

On 2026-10-23, after 2.4.0 was published, GitHub published four more fast-uri advisories that affect 3.1.8 and are fixed in 3.1.9 (published 2026-10-19):

As in #2966, ajv and its fast-uri are inlined into dist/ (noExternal in packages/server/tsdown.config.ts), so consumers cannot raise them with overrides or resolutions, and lockfile scanners do not see them. pnpm-lock.yaml on main still resolves fast-uri@3.1.8.

We have not checked whether any of these advisories is reachable through the SDK's use of ajv.

What did you expect?

A release whose bundled fast-uri is 3.1.9 or later.

Code to reproduce

npm pack @modelcontextprotocol/server@2.4.0
tar xzf modelcontextprotocol-server-2.4.0.tgz
grep -ho '#region ../../node_modules/.pnpm/[^/]*/' package/dist/*.mjs | sort -u
# prints, among others, .pnpm/ajv@8.18.0/ and .pnpm/fast-uri@3.1.8/

SDK version

@modelcontextprotocol/server 2.4.0

Area

Server

Activity

  1. added
    v2Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixes
    on Oct 27, 2026
  2. felixweinberger commented on Oct 27, 2026

    @felixweinberger
    Contributor

    Same as #3101. #3108 builds the bundles with fast-uri 3.1.9, and it will be in the next release. Closing.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    v2Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions