# CVE-2026-84292: fast-uri vulnerable to authority injection via an unvalidated port in serialize

- 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.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-09-02T20:09:51.415Z
- Modified: 2026-10-06T22:10:00.247Z
- Also known as: GHSA-qw65-cvwx-89v3
- Weaknesses: CWE-116
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openjs

## Description

fast-uri serializes the port component of a URI without validating it. When recomposing the authority, the userinfo and host components are escaped but the port is concatenated verbatim, so a port value that is not a sequence of digits can inject authority delimiters, demoting the intended host to userinfo and pointing the authority at an attacker-controlled host. Both fast-uri and Node's URL read the result back as the attacker's host with no error, so re-validating the built URI does not catch it. This affects applications that build URIs from parts and assign untrusted data to the port component through the serialize, normalize, or equal functions in their object forms. The issue affects fast-uri versions before 2.4.6, from 3.0.0 before 3.1.7, and from 4.0.0 before 4.1.4. It is fixed in 2.4.6, 3.1.7, and 4.1.4, where recomposeAuthority rejects any port that is not a digit sequence per RFC 3986.

(As written by CVE List.)

## Affected

- fast-uri fast-uri: before 2.4.6; from 3.0.0 before 3.1.7; from 4.0.0 before 4.1.4 (not affected: 2.4.6; 3.1.7; 4.1.4)
- fast-uri (npm): before 2.4.6; from 3.0.0 before 3.1.7; from 4.0.0 before 4.1.4
- openjsf fast-uri: before 2.4.6; from 3.0.0 before 3.1.7; from 4.0.0 before 4.1.4

## 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-qw65-cvwx-89v3> (mitigation, vendor-advisory, web)
- <https://cna.openjsf.org/security-advisories.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-84292> (advisory)
- <https://github.com/fastify/fast-uri/commit/820e8478dd7da3d09f187bfaf35d50b71f67b8b4> (web)
- <https://github.com/fastify/fast-uri> (package)
- <https://github.com/fastify/fast-uri/releases/tag/v2.4.6> (web)
- <https://github.com/fastify/fast-uri/releases/tag/v3.1.7> (web)
- <https://github.com/fastify/fast-uri/releases/tag/v4.1.4> (web)

## Sources

- CVE List: [CVE-2026-84292](https://www.cve.org/CVERecord?id=CVE-2026-84292), CVE Terms of Use, modified 2026-09-03
- GitHub Advisory Database: [GHSA-qw65-cvwx-89v3](https://github.com/advisories/GHSA-qw65-cvwx-89v3), CC-BY-4.0, modified 2026-09-28
- NVD: [CVE-2026-84292](https://nvd.nist.gov/vuln/detail/CVE-2026-84292), Public domain, modified 2026-10-06

---

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