CVE-2026-76172
published high CVSS 3.1 · 7.5fast-uri vulnerable to host confusion via percent-encoded scheme normalization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fast-uri | — | fast-uri2.3.1 to < 2.4.5 (affected · semver) · 2.4.5 (unaffected · semver) · 3.0.0 to < 3.1.6 (affected · semver) · 3.1.6 (unaffected · semver) · 4.0.0 to < 4.1.3 (affected · semver) · 4.1.3 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
| AlmaLinux | 10 | cockpit-image-builder | Advisory build | 94.4-1.el10_2 | ALSA-2026:71543 |
| Oracle Linux | 10 | cockpit-image-builderaarch64 | Advisory build | 0:94.4-1.0.1.el10_2 | ELSA-2026-71543 |
| Red Hat Enterprise Linux | RHEL-10 | cockpit-image-buildernoarch | Advisory build | 94.4-1.el10_2 | RHSA-2026:71543 |
| Rocky Linux | 10 | cockpit-image-buildernoarch | Listed in advisory | Not stated | RLSA-2026:71543 |
| Oracle Linux | 10 | cockpit-image-builderx86_64 | Advisory build | 0:94.4-1.0.1.el10_2 | ELSA-2026-71543 |
| Red Hat Enterprise Linux | RHEL-10 | cockpit-image-buildersrc | Advisory build | 94.4-1.el10_2 | RHSA-2026:71543 |
| Rocky Linux | 10 | cockpit-image-buildersrc | Listed in advisory | Not stated | RLSA-2026:71543 |
Description
fast-uri is a URI parser for Node.js. During parsing it runs a legacy decoding pass over the scheme component and never re-escapes the result, and serialization writes the scheme back out verbatim, unlike the host component which is re-escaped. As a result an input whose scheme carries percent-encoded slashes parses as a scheme with no authority, so the parsed host and error are both undefined, yet resolving or normalizing that same input emits a network-path reference whose authority is attacker-chosen and re-parses to that host. An application that allowlists on the parsed host, or treats a reference with no authority as safe to resolve against its base, gets the opposite of what it checked, giving an off-site redirect, server-side request forgery, or address-policy bypass. The legacy decoder also expands non-standard escape forms, widening the issue past upstream filters, and control characters in the scheme can reach the output as raw carriage return and line feed. The affected versions are 2.3.1 up to but not including 2.4.5, 3.0.0 up to but not including 3.1.6, and 4.0.0 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which reject a scheme that is not valid after decoding. Users should upgrade to a patched version.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fast-uri | fast-uri | 2.3.1 to < 2.4.5 (affected · semver)2.4.5 (unaffected · semver)3.0.0 to < 3.1.6 (affected · semver)3.1.6 (unaffected · semver)4.0.0 to < 4.1.3 (affected · semver)4.1.3 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-177 CWE-177: Improper Handling of URL Encoding (Hex Encoding)
References
2Provider assertions
2openjs · cna
fast-uri vulnerable to host confusion via percent-encoded scheme normalization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 00bcbe2c593b321d750340a87d69cfc6c09b3979a57c9cfca3569d2cf0b1e269
- Ingested
- 23 Sep 2026, 09:31:51 UTC
- Source record
- Official CVE record