chore(deps): update dependency fast-uri to v3.1.4 [security] - autoclosed#577
Closed
renovate[bot] wants to merge 1 commit into
Closed
chore(deps): update dependency fast-uri to v3.1.4 [security] - autoclosed#577renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
requested review from
ALARGECOMPANY and
biggest-littlest
as code owners
July 21, 2026 23:05
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
scttbnsn
added a commit
that referenced
this pull request
Jul 22, 2026
## Summary - pin `fast-uri` 3.1.4 in app and UI for CVE-2026-16221 - pin `fast-xml-parser` 5.10.1 in app for GHSA-8r6m-32jq-jx6q - override the Next.js transitive `sharp` dependency to 0.35.3 for GHSA-f88m-g3jw-g9cj - add lockfile regression coverage and record the refresh in the rc.3 changelog ## Why The approved rc.3 tree passed PR CI, but the GitHub Advisory Database updated before the post-merge `main` run completed. Qlty then correctly blocked the release on these three newly recognized advisories. The release workflow was canceled before any publication side effects. This combined PR supersedes the incomplete single-package Renovate PRs #577 and #578; neither can pass the all-plugin Qlty gate independently. ## Validation - Qlty all-plugin gate: pass - npm audit, app/UI/website production trees: 0 vulnerabilities - backend: 392 files, 12,288 tests, 100% coverage - UI: 213 files, 4,273 tests, 100% coverage - website: 44 script tests, typecheck, 348-page production build - root scripts: 111 tests - workflow policy: 40 tests - pre-push repository gate: pass - rc.3 precheck: pass with five informational discussion-reply reminders <!-- This is an auto-generated comment: release notes by coderabbit.ai --> 🔒 **Security** - Pin `fast-uri` to `3.1.4` in `app` and `ui` for CVE-2026-16221. - Pin `fast-xml-parser` to `5.10.1` in `app` (via `dependencies` + `overrides`) for GHSA-8r6m-32jq-jx6q. - Override Next.js transitive `sharp` to `0.35.3` in `apps/web` for GHSA-f88m-g3jw-g9cj. ✨ **Added** - Add `scripts/security-dependency-versions.test.mjs` to regression-test that: - workspace manifests include the expected pins/overrides, - `package-lock.json` resolved versions are semver-equal-or-greater than the patched targets, - `CHANGELOG.md` `## [1.6.0-rc.3]` contains the expected CVE/GHSA identifiers and patched-version statements. 🔧 **Changed** - Update `app/package.json` to pin/override `fast-uri@3.1.4` and `fast-xml-parser@5.10.1`. - Update `ui/package.json` to override `fast-uri@3.1.4`. - Update `apps/web/package.json` to override `sharp@0.35.3`. - Record the security dependency refresh in `CHANGELOG.md` under `## [1.6.0-rc.3]`. - Supersede prior Renovate updates. - Confirm the previously canceled release workflow / post-merge advisory failure no longer blocks publication. - Verify all listed CI/validation gates remain passing (Qlty, audit, test, coverage, build, typecheck, workflow policy, pre-push, rc.3 precheck). <!-- end of auto-generated comment: release notes by coderabbit.ai -->
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.
This PR contains the following updates:
3.1.3→3.1.4fast-uri vulnerable to host confusion via literal backslash authority delimiter
CVE-2026-16221 / GHSA-v2hh-gcrm-f6hx
More information
Details
Impact
fast-uriv4.1.0 and earlier do not treat a literal backslash (U+005C) as an authority delimiter. Node's native WHATWGURL(used byfetch(),undici, and Node'shttp/httpsclients) normalizes\to/for special schemes (http,https,ws,wss,ftp,file), so the two parsers extract different hosts from the same input string.For example,
http://evil.com\@​allowed.comis treated byfast-urias hostallowed.comwith userinfoevil.com\, while Node's WHATWG URL parser andfetch()see hostevil.comwith path/@​allowed.com.Applications that use
fast-urito enforce host-based policy (allowlists, denylists, loopback/SSRF filtering, redirect validation, outbound proxy routing) before passing the same URL into Node's URL orfetch()consumers see a policy/use desync and can be steered to an unintended destination, including cloud metadata endpoints, loopback, or internal hosts.Patches
Upgrade to
fast-uriv4.1.1, v3.1.4, or v2.4.3.Workarounds
None. Upgrade to the patched version.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
fastify/fast-uri (fast-uri)
v3.1.4Compare Source
Fix for GHSA-v2hh-gcrm-f6hx
Full Changelog: fastify/fast-uri@v3.1.3...v3.1.4
Configuration
📅 Schedule: (in timezone America/New_York)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.