CVE-2026-84292fast-uri vulnerable to authority injection via an unvalidated port in serialize
Updated under an hour ago ()
Does this affect you?
It affects fast-uri and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weakness (CWE)
- CWE-116
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- openjs
- NVD analysis
- Analyzed
- Record last updated
- Sep 3, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
fast-uri fast-uri fast_uri:fast_uri (from the name) | before 2.4.6; 2.4.6 not affected; from 3.0.0 before 3.1.7; 3.1.7 not affected; from 4.0.0 before 4.1.4; 4.1.4 not affected | CNA record |
openjsf fast-uri openjsf:fast-uri | before 2.4.6; from 3.0.0 before 3.1.7; from 4.0.0 before 4.1.4 | NVD |
References
- https://github.com/fastify/fast-uri/security/advisories/GHSA-qw65-cvwx-89v3mitigation, vendor-advisory
- https://cna.openjsf.org/security-advisories.htmlvendor-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.