# CVE-2026-110180: fast-uri vulnerable to host confusion via unchecked WHATWG host canonicalization

- Severity: Medium 4.8 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-10-20T07:00:42.153Z
- Modified: 2026-10-23T21:45:04.892Z
- Also known as: GHSA-wjr9-j795-jxcr
- Weaknesses: CWE-20, CWE-436
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openjs

## Description

fast-uri is a dependency-free RFC 3986 URI parser and serializer for Node.js. In versions from 2.4.2 through 2.4.7, from 3.1.3 through 3.1.8, and from 4.0.1 through 4.2.2, for HTTP-family schemes the canonicalizeHost() function passes the parsed host to the WHATWG URL parser and adopts its hostname without checking that the parser consumed the entire input as a host, so the authority can be silently rewritten: data before an at-sign is dropped and tab, carriage-return, and line-feed characters are stripped, with no error reported. An application that enforces host-based policy such as denylists, loopback filtering, redirect validation, or outbound proxy routing on one representation can then see the canonical host diverge from what it checked, allowing traffic to be steered to an unintended destination. 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, reject an authority that contains more than one at-sign or any tab, carriage-return, or line-feed before calling fast-uri, or treat any non-empty parse error as fatal and compare hosts only from the same parse result.

(As written by CVE List.)

## Affected

- fast-uri fast-uri: from 2.4.2 before 2.4.8; from 3.1.3 before 3.1.9; from 4.0.1 before 4.2.3 (not affected: 2.4.8; 3.1.9; 4.2.3)
- fast-uri (npm): from 2.4.2 before 2.4.8; from 3.1.3 before 3.1.9; from 4.0.1 before 4.2.3

## Every score

- openjs: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/fastify/fast-uri/security/advisories/GHSA-wjr9-j795-jxcr> (web)
- <https://cna.openjsf.org/security-advisories.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-110180> (advisory)
- <https://github.com/fastify/fast-uri/commit/58c183d0b168ad87f98773266444ce1f6375803a> (web)
- <https://github.com/fastify/fast-uri/commit/ddfc6a51122dfce0365655f04479fc3adb7f6b3c> (web)
- <https://github.com/fastify/fast-uri/commit/f6d46dfeab025d0c440485f4ae29fa4f14707646> (web)
- <https://github.com/fastify/fast-uri> (package)
- <https://github.com/fastify/fast-uri/releases/tag/v2.4.8> (web)
- <https://github.com/fastify/fast-uri/releases/tag/v3.1.9> (web)
- <https://github.com/fastify/fast-uri/releases/tag/v4.2.3> (web)

## Sources

- CVE List: [CVE-2026-110180](https://www.cve.org/CVERecord?id=CVE-2026-110180), CVE Terms of Use, modified 2026-10-20
- GitHub Advisory Database: [GHSA-wjr9-j795-jxcr](https://github.com/advisories/GHSA-wjr9-j795-jxcr), CC-BY-4.0, modified 2026-10-23
- NVD: [CVE-2026-110180](https://nvd.nist.gov/vuln/detail/CVE-2026-110180), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-110180 · Whole record: https://cve.day/CVE-2026-110180.json · Rebuilt by cve.day 2026-11-25T22:59:45.995Z
