fix: upgrade fast-uri to 4.0.1, 3.1.3, 2.4.2 (CVE-2026-13676) - #7
Open
anupamme wants to merge 1 commit into
Open
fix: upgrade fast-uri to 4.0.1, 3.1.3, 2.4.2 (CVE-2026-13676)#7anupamme wants to merge 1 commit into
anupamme wants to merge 1 commit into
Conversation
Automated dependency upgrade by OrbisAI Security
GLouv
pushed a commit
that referenced
this pull request
Aug 27, 2026
Alle syv (3 hoeje, 3 middel, 1 lav — fast-uri, hono, ip-address, @hono/node-server, body-parser, qs, express-rate-limit) er INDIREKTE via @modelcontextprotocol/sdk. Ingen af dem importeres af vores kode. Ingen bruger var i fare: "files" i package.json indeholder ikke lockfilen, saa den foelger ikke med ud til npm-brugere — de opløser selv til de lappede udgaver. Eneste forbruger var Dockerfile'ens `npm ci`, som bygger registry-introspektions- imaget. Det her handler altsaa om repoets egen hygiejne, ikke om en aktiv risiko. Et rent lockfile-refresh raakkede ikke: npm holdt fast i den cachede opløsning af fast-uri@3.1.0, selv om ajv tillader ^3.0.1 og 3.1.5 findes. Derfor eksplicitte overrides — de holder ogsaa ved naeste install. Bemaerk til PR #7, som foreslaar det samme paa en anden maade: 3.1.3 er STADIG i det saarbare interval (GHSA-v2hh-gcrm-f6hx daekker <=3.1.3, GHSA-7p8r-x3mc-p8w7 daekker <3.1.5). Foerste sikre 3.x er 3.1.5. Og fast-uri er transitiv, saa en direkte dependency er den forkerte mekanisme — det er overrides der er npm's svar. npm audit: 0 saarbarheder. 122 tests groenne. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade fast-uri from 3.1.0 to 4.0.1, 3.1.3, 2.4.2 to fix CVE-2026-13676.
Vulnerability
CVE-2026-13676mcp-server/package-lock.jsonDescription: fast-uri: fast-uri: Security policy bypass due to improper Unicode hostname canonicalization
Evidence
Scanner confirmation: trivy rule
CVE-2026-13676flagged this pattern.Production code: This file is in the production codebase, not test-only code.
Changes
mcp-server/package.jsonmcp-server/package-lock.jsonBehavior Preservation
The change is scoped to 2 files on the vulnerable path, and the project's existing tests still pass, so intended behavior is unchanged.
Verification
This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.
Automated security fix by OrbisAI Security