Skip to content
OpenAdvisories

Description

fast-uri is a dependency-free RFC 3986 URI parser and serializer for Node.js. In versions before 2.4.8, from 3.0.0 through 3.1.8, and from 4.0.0 through 4.2.2, the normalize() and serialize() functions apply RFC 3986 dot-segment removal to the path of a relative-path reference, even though that algorithm is defined only for the merged target path during resolution, so a leading parent-directory segment can be dropped and a document-relative reference can become root-relative. An application that normalizes an attacker-supplied or user-supplied relative reference and then resolves it, or uses it as a cache, deduplication, or authorization key, can have the reference escape its intended directory and point at a different resource. The issue is fixed in fast-uri 2.4.8, 3.1.9, and 4.2.3, and users should upgrade to one of these versions or later. As a workaround, resolve a relative reference against its absolute base first and normalize the absolute result instead of normalizing the reference beforehand.

Affected products

VendorProductAffectedFixed
fast-uri fast-uri < 2.4.8, 3.0.0 – < 3.1.9, 4.0.0 – < 4.2.3 2.4.8

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.2.4-1 —
Debian 13 node-ajv No fix yet —
Debian 12 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
Red Hat Hardened Images 1 grafana12.4 12.4.13-0.4.hum1 RHSA-2026:91292, RHSA-2026:90388
Red Hat Hardened Images 1 grafana13.1 13.1.8-0.5.hum1 RHSA-2026:91181
Red Hat Hardened Images 1 grafana13.2 13.2.4-0.4.hum1 RHSA-2026:90990
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed git-bug 0.11.0-3.1 openSUSE-SU-2026:12261-1
openSUSE Tumbleweed modelcontextprotocol-servers 2.4.0-1.1 openSUSE-SU-2026:12531-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling opensearch-dashboards-3-dashboards-maps +11 3.9.0-r4 —
Wolfi rolling prism 5.16.0-r20 —
Wolfi rolling renovate 44.190.2-r0 —
Wolfi rolling serve 14.2.6-r9 —
Wolfi rolling tileserver-gl 5.6.0-r21 —
Wolfi rolling vitess-24 24.0.5-r6 —
Wolfi rolling yaml-language-server 2.0.0-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm fast-uri < 2.4.8 2.4.8 GHSA-xhq7-xmqj-769h
npm fast-uri >= 3.0.0, < 3.1.9 3.1.9 GHSA-xhq7-xmqj-769h
npm fast-uri >= 4.0.0, < 4.2.3 4.2.3 GHSA-xhq7-xmqj-769h

Advisories 6

References