CVE-2026-75975

fast-uri vulnerable to server-side request forgery via malformed IPv6 normalization

State
Published
Severity
7.5 High
Published
Aug 24, 2026
Updated
Aug 24, 2026
Reserved
Aug 18, 2026

Read the record on cve.org

Description

fast-uri is a URI parser for Node.js. Its custom parser for bracketed IPv6 literals does not validate the complete IPv6 grammar, so invalid trailing text in an authority can be silently discarded and a malformed attacker-controlled host is turned into a different valid IPv6 destination. For example, a bracketed literal with invalid trailing characters is normalized to the unspecified address, which a Node HTTP client then connects to a local service over loopback, and other malformed literals collapse to private-range addresses. No error is set on the parsed result, so an application checking the error field cannot detect the rewrite. An application that normalizes untrusted URLs before outbound requests, redirects, proxy routing, or address-policy enforcement can be redirected to a local or private IPv6 target, giving a server-side request forgery and address-policy bypass primitive. 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 validate bracketed IP literals against the full grammar and mark malformed literals as authority errors. Users should upgrade to a patched version.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Nopenjs

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-918 Server-Side Request Forgery (SSRF)

Affected Products

ProductVersions
fast-urifast-uri
  • 2.3.1 to before 2.4.5Affected
  • 2.4.5Not affected
  • 3.0.0 to before 3.1.6Affected
  • 3.1.6Not affected
  • 4.0.0 to before 4.1.3Affected
  • 4.1.3Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.