Repository navigation
fix(deps): Upgrade fast-uri to 3.1.2 for CVE-2026-6322 - #133
Merged
Merged
Conversation
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
force-pushed
the
fix/cve-2026-6322-fast-uri
branch
from
May 11, 2026 18:56
f56a41f to
713f4f8
Compare
emiaimi-aws
approved these changes
May 11, 2026
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
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 (%40as@,%3Aas:) 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 tohttp://trusted.com@evil.com/, which reparses as hostevil.com.Changes
resolutionsin rootpackage.jsonto pinfast-uri >= 3.1.2yarn.lockfiles to resolvefast-uri@3.1.2