CVE-2026-110095: fast-uri vulnerable to improper path equivalence in relative reference normalization

Published Oct 20, 2026
·
Updated

Impact

fast-uri's normalize() and serialize() apply RFC 3986 dot-segment removal (removedotsegments) to the path of a relative-path reference. RFC 3986 section 5.2.4 defines that algorithm only for the merged target path during resolution, not for the reference itself, so applied to the reference it drops leading .. segments and can turn a document-relative reference into a root-relative one.

For example, normalize('a/../b') returns /b and normalize('../x') returns x, so resolve(base, normalize(ref)) points at a different resource than resolve(base, ref), and equal() treats distinct references as the same.

Applications that normalize attacker-supplied or user-supplied relative references and then resolve them, or use them as cache, deduplication, or authorization keys, can have a reference escape its intended directory and point at a different resource.

Patches

Upgrade to fast-uri 2.4.8, 3.1.9, or 4.2.3.

Workarounds

Do not normalize a relative reference before resolving it. Resolve it against the absolute base first, then normalize the absolute result.

Other sources

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.

— Ubuntu

Affected Software

11 affected componentsFixes available
npm/fast-uri<2.4.8, >=3.0.0<=3.1.8, >=4.0.0<=4.2.2
npm/fast-uri>=4.0.0<4.2.3
4.2.3
npm/fast-uri>=3.0.0<3.1.9
3.1.9
npm/fast-uri<2.4.8
2.4.8
ubuntu/node-ajv*
ubuntu/node-ajv*
ubuntu/node-ajv*
ubuntu/node-ajv*
ubuntu/node-ajv*
ubuntu/node-ajv*
debian/node-ajv<=6.12.6-3, <=8.12.0~ds+~2.1.1-5
8.20.0~ds+~cs7.2.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/fast-uri to a version that resolves this vulnerability.

    Fixed in 4.2.3
  2. Upgrade

    Upgrade npm/fast-uri to a version that resolves this vulnerability.

    Fixed in 3.1.9
  3. Upgrade

    Upgrade npm/fast-uri to a version that resolves this vulnerability.

    Fixed in 2.4.8
  4. Upgrade

    Upgrade debian/node-ajv to a version that resolves this vulnerability.

    Fixed in 8.20.0~ds+~cs7.2.4-1
  5. Upgrade

    Upgrade fast-uri to a version that resolves this vulnerability.

    Fixed in 2.4.8
  6. Upgrade

    Upgrade fast-uri to a version that resolves this vulnerability.

    Fixed in 3.1.9
  7. Upgrade

    Upgrade fast-uri to a version that resolves this vulnerability.

    Fixed in 4.2.3
  8. Compensating control

    Resolve a relative reference against its absolute base first, then normalize the absolute result; do not normalize a relative reference before resolving it.

Event History

Oct 20, 2026
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·06:56 AM
Data Sourced
via MITRE·06:56 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·07:17 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:17 AM
DescriptionSeverityWeakness
Oct 23, 2026
Advisory Published
via GitHub·09:39 PM
Data Sourced
via GitHub·09:39 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications are exposed if they normalize an attacker-supplied or user-supplied relative URI reference before resolving it, or if they use that normalized reference as a cache, deduplication, or authorization key. The impact is that a document-relative reference may escape its intended directory and refer to a different resource.

2

Is an attacker required to authenticate or interact with a user to exploit this?

No authentication or user interaction is required according to the provided vector. Exploitation requires an attacker-controlled or user-controlled relative reference to reach the affected normalization or serialization flow, and the attack complexity is high.

3

What should be done if an immediate upgrade is not possible?

Resolve the relative reference against its absolute base first, then normalize the resulting absolute URI. Do not normalize the relative reference before resolution.

4

How can I determine whether a deployed version is affected?

Affected versions are versions before 2.4.8, versions from 3.0.0 through 3.1.8, and versions from 4.0.0 through 4.2.2. Fixed versions are 2.4.8, 3.1.9, and 4.2.3 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203