CVE Vulnerabilities

CVE-2026-76172

Improper Handling of URL Encoding (Hex Encoding)

Published: Aug 24, 2026 | Modified: Sep 02, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product does not properly handle when all or part of an input has been URL encoded.

Affected Software

NameVendorStart VersionEnd Version
Fast-uriOpenjsf2.3.1 (including)2.4.5 (excluding)
Fast-uriOpenjsf3.0.0 (including)3.1.6 (excluding)
Fast-uriOpenjsf4.0.0 (including)4.1.3 (excluding)
Red Hat Advanced Cluster Management for Kubernetes 2.16RedHatrhacm2/console-rhel9:1788880980*
Red Hat Advanced Cluster Management for Kubernetes 2.17RedHatrhacm2/console-rhel9:1788883472*
Red Hat Ansible Automation Platform 2.1RedHatansible-automation-platform/automation-portal:1788775748*
Red Hat Ansible Automation Platform 2.2RedHatansible-automation-platform/automation-portal:1788783591*
Red Hat Ansible Automation Platform 2.7RedHatansible-automation-platform-27/mcp-server-rhel9:1788915736*
Red Hat Developer Hub 1.9RedHatrhdh/rhdh-hub-rhel9:1789554285*
Red Hat Discovery 2RedHatdiscovery/discovery-ui-rhel9:1788206196*
Red Hat Edge Manager 1.1RedHatrhem/flightctl-ui-ocp-rhel10:1789486226*
Red Hat Edge Manager 1.1RedHatrhem/flightctl-ui-rhel10:1789486181*
Red Hat Edge Manager 1.1RedHatrhem/flightctl-ui-ocp-rhel9:1789486446*
Red Hat Edge Manager 1.2RedHatrhem/flightctl-ui-ocp-rhel10:1789485920*
Red Hat Edge Manager 1.2RedHatrhem/flightctl-ui-rhel10:1789488111*
Red Hat Edge Manager 1.2RedHatrhem/flightctl-ui-ocp-rhel9:1789486476*
Red Hat Edge Manager 1.2RedHatrhem/flightctl-ui-rhel9:1789486750*
Red Hat Hardened ImagesRedHatgrafana13-1-main-13.1.3-0.3.hum1*
Red Hat Hardened ImagesRedHatgrafana13-2-main-13.2.0-0.1.2.hum1*
Red Hat Hardened ImagesRedHatgrafana12-4-main-12.4.9-0.4.hum1*
Red Hat Migration Toolkit 1.8RedHatrhmtc/openshift-migration-ui-rhel8:1789546373*
Red Hat OpenShift Container Platform 4.21RedHatopenshift4/nmstate-console-plugin-rhel9:1789592806*
Red Hat OpenShift Container Platform 4.22RedHatopenshift4/nmstate-console-plugin-rhel9:1789567849*
Red Hat OpenShift Dev Spaces 3.30RedHatdevspaces/dashboard-rhel9:1789162884*
Red Hat Satellite 6.18RedHatsatellite/iop-host-inventory-frontend-rhel9:1789613107*
Red Hat Satellite 6.18RedHatsatellite/iop-advisor-frontend-rhel9:1789659573*
Red Hat Satellite 6.18RedHatsatellite/iop-vulnerability-frontend-rhel9:1789660969*
Red Hat Satellite 6.18RedHatsatellite/iop-remediations-rhel9:1789615095*
Red Hat Satellite 6.19RedHatsatellite/iop-remediations-rhel9:1789615593*
Red Hat Satellite 6.19RedHatsatellite/iop-advisor-frontend-rhel9:1789659565*
Red Hat Satellite 6.19RedHatsatellite/iop-host-inventory-frontend-rhel9:1789624519*
Red Hat Satellite 6.19RedHatsatellite/iop-vulnerability-frontend-rhel9:1789660983*

Potential Mitigations

  • Assume all input is malicious. Use an “accept known good” input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, “boat” may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as “red” or “blue.”
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code’s environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

References