# CVE-2026-18446: fast-uri vulnerable to host confusion via backslash authority introducer

- Severity: High 7.5 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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.38%, higher than 24% of CVEs (2026-11-30)
- Published: 2026-07-31T14:37:01.584Z
- Modified: 2026-09-10T03:50:53.468Z
- Also known as: GHSA-7p8r-x3mc-p8w7
- Weaknesses: CWE-436
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openjs

## Description

fast-uri before 4.1.2, 3.1.5, and 2.4.4 requires a literal double forward slash to recognize a URI authority, so a reference that uses a backslash based introducer in place of it (backslash backslash, forward slash backslash, or backslash forward slash) is parsed with no authority and folds into the path. Node's native WHATWG URL parser instead treats a backslash as interchangeable with a forward slash for special schemes, so the two parsers extract different hosts from the same input. Applications that use fast-uri to enforce host based policy such as allowlists, SSRF filtering, or redirect validation before passing the same URL into Node's URL or fetch consumers can be steered to an unintended host. Upgrade to fast-uri 4.1.2, 3.1.5, or 2.4.4.

(As written by CVE List.)

## Affected

- fast-uri fast-uri: from 4.0.0 before 4.1.2; from 3.0.0 before 3.1.5; before 2.4.4 (not affected: 4.1.2; 3.1.5; 2.4.4)
- fast-uri (npm): before 2.4.4; from 3.0.0 before 3.1.5; from 4.0.0 before 4.1.2
- openjsf fast-uri: before 2.4.4; from 3.0.0 before 3.1.5; from 4.0.0 before 4.1.2

## Every score

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

## References

- <https://github.com/fastify/fast-uri/security/advisories/GHSA-7p8r-x3mc-p8w7> (vendor-advisory, web)
- <https://cna.openjsf.org/security-advisories.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-18446> (advisory)
- <https://github.com/fastify/fast-uri/commit/f3c6c905f47831007490f466c5945012e905cc52> (web)
- <https://github.com/fastify/fast-uri> (package)
- <https://github.com/fastify/fast-uri/releases/tag/v4.1.2> (web)

## Sources

- CVE List: [CVE-2026-18446](https://www.cve.org/CVERecord?id=CVE-2026-18446), CVE Terms of Use, modified 2026-07-31
- GitHub Advisory Database: [GHSA-7p8r-x3mc-p8w7](https://github.com/advisories/GHSA-7p8r-x3mc-p8w7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-18446](https://nvd.nist.gov/vuln/detail/CVE-2026-18446), Public domain, modified 2026-09-02

---

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