Skip to content

fix(deps): Upgrade fast-uri to 3.1.2 for CVE-2026-6322 - #133

Merged
tim-finnigan merged 1 commit into
mainfrom
fix/cve-2026-6322-fast-uri
May 11, 2026
Merged

tim-finnigan merged 1 commit into
mainfrom
fix/cve-2026-6322-fast-uri

Conversation

@tim-finnigan

Copy link
Copy Markdown
Contributor

Summary

Fixes CVE-2026-6322 (High severity) - fast-uri vulnerable to host confusion via percent-encoded authority delimiters.

Vulnerability

fast-uri <= 3.1.1 decodes percent-encoded authority delimiters (%40 as @, %3A as :) inside the host component and serializes them back as raw characters. This changes the URI structure, turning a hostname into userinfo plus a different host.

Example: http://trusted.com%40evil.com/ normalizes to http://trusted.com@evil.com/, which reparses as host evil.com.

Changes

  • Added resolutions in root package.json to pin fast-uri >= 3.1.2
  • Updated all three affected yarn.lock files to resolve fast-uri@3.1.2

Resolve host confusion vulnerability via percent-encoded authority
delimiters. fast-uri <= 3.1.1 decodes %40 as @ and %3A as : inside
the host component, allowing an attacker to redirect URL validation
to a different authority than intended.

Add yarn resolutions to pin fast-uri >= 3.1.2 across all workspaces.
@tim-finnigan
tim-finnigan force-pushed the fix/cve-2026-6322-fast-uri branch from f56a41f to 713f4f8 Compare May 11, 2026 18:56
@tim-finnigan
tim-finnigan merged commit ed37cb7 into main May 11, 2026
6 checks passed
@tim-finnigan
tim-finnigan deleted the fix/cve-2026-6322-fast-uri branch May 11, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants