Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
fast-uri fast-uri 2.3.1 – < 2.4.5, 3.0.0 – < 3.1.6, 4.0.0 – < 4.1.3 2.4.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-ajv 8.20.0~ds+~cs7.1.4-1 —
Debian 13 node-ajv No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-ajv No fix yet —
Ubuntu 26.04 LTS node-ajv No fix yet —
Ubuntu 24.04 LTS node-ajv No fix yet —
Ubuntu 22.04 LTS node-ajv No fix yet —
Ubuntu 20.04 LTS node-ajv No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-ajv No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 cockpit-image-builder 94.4-1.el10_2 RHSA-2026:71543
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana12.4 12.4.9-0.4.hum1 RHSA-2026:60866
Red Hat Hardened Images 1 grafana13.1 13.1.3-0.3.hum1 RHSA-2026:60855
Red Hat Hardened Images 1 grafana13.2 13.2.0-0.1.2.hum1 RHSA-2026:60856

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 cockpit-image-builder 94.4-1.el10_2 ALSA-2026:71543

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 cockpit-image-builder 94.4-1.el10_2 RLSA-2026:71543

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 cockpit-image-builder 94.4-1.0.1.el10_2 ELSA-2026-71543

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling argo-workflows-ui-4.0 4.0.11-r0 —
Wolfi rolling jupyter-base-notebook 7.6.3-r2 —
Wolfi rolling opensearch-dashboards-3 +12 3.8.0-r1 —
Wolfi rolling prism 5.16.0-r7 —
Wolfi rolling tileserver-gl 5.6.0-r14 —
Wolfi rolling vitess-24 24.0.2-r19 —
Wolfi rolling vitess-24-compat 24.0.3-r7 —
Wolfi rolling yaml-language-server 1.24.0-r5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm fast-uri >= 2.3.1, < 2.4.5 2.4.5 GHSA-jqff-g426-hqxp
npm fast-uri >= 3.0.0, < 3.1.6 3.1.6 GHSA-jqff-g426-hqxp
npm fast-uri >= 4.0.0, < 4.1.3 4.1.3 GHSA-jqff-g426-hqxp

Advisories 9

References