{"id":"CVE-2026-84292","published":"2026-09-02T20:09:51Z","modified":"2026-09-03T13:16:25Z","title":"fast-uri vulnerable to authority injection via an unvalidated port in serialize","vendor":"fast-uri","product":"fast-uri","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0038,"percentile":0.23843,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/fastify/fast-uri/security/advisories/GHSA-qw65-cvwx-89v3","tags":[]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":4.77},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"fast-uri","affectedVersions":[{"vendor":"fast-uri","product":"fast-uri","versions":["< 2.4.6",">= 3.0.0, < 3.1.7",">= 4.0.0, < 4.1.4"]}],"fixedVersions":[{"vendor":"fast-uri","product":"fast-uri","versions":["2.4.6","3.1.7","4.1.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-03T13:16:05.344208Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"fast-uri","vulnerableRanges":["<2.4.6",">=3.0.0, <3.1.7",">=4.0.0, <4.1.4"],"patched":["2.4.6","3.1.7","4.1.4"],"from":["GHSA-qw65-cvwx-89v3"],"provenance":"source"}],"summary":{"text":"fast-uri's serialize, normalize and equal functions (in their object forms) concatenate the port component of a URI verbatim without validating it, so a non-digit port value can inject authority delimiters during recomposition. An attacker who can supply the port value to an application that builds URIs from parts over the network, with no authentication or user interaction required, can redirect the authority to an attacker-controlled host, provided the application assigns untrusted data to the port component.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:49Z"},"euvd":{"id":"EUVD-2026-70280","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-fast-uri-cve-2026-6322","parents":[{"from":"CVE-2026-75899","to":"CVE-2026-84292","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/utils.js"],"commits":["https://github.com/fastify/fast-uri/commit/2642290672e7211c990aaed3749c2ce667d0af4f","https://github.com/fastify/fast-uri/commit/8c15dbe94ec50bb8e595791ebb42c35cef0fd304","https://github.com/fastify/fast-uri/commit/820e8478dd7da3d09f187bfaf35d50b71f67b8b4"],"basis":"shared function","functions":["recomposeAuthority"]}]}],"children":[{"from":"CVE-2026-84292","to":"CVE-2026-110095","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/utils.js"],"commits":["https://github.com/fastify/fast-uri/commit/048bbd0a252971be86d6579f0dfc87f8de5b9c47","https://github.com/fastify/fast-uri/commit/52774a5c35df36b0bbe439cd4c12c3dc0e50e3b9","https://github.com/fastify/fast-uri/commit/820e8478dd7da3d09f187bfaf35d50b71f67b8b4"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-75931","published":"2026-08-24","fixed":"4.1.3","kev":false},{"cve":"CVE-2026-75975","published":"2026-08-24","fixed":"4.1.3","kev":false},{"cve":"CVE-2026-76172","published":"2026-08-24","fixed":"4.1.3","kev":false},{"cve":"CVE-2026-84292","published":"2026-09-02","fixed":"4.1.4","kev":false},{"cve":"CVE-2026-84394","published":"2026-09-02","fixed":"4.1.4","kev":false},{"cve":"CVE-2026-86472","published":"2026-09-15","fixed":"4.1.5","kev":false,"link":{"from":"CVE-2026-84292","to":"CVE-2026-86472","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fast-uri","fromFixed":"2.4.6","toFixed":"2.4.7","daysApart":13},{"kind":"version-step","provenance":"source","package":"npm:fast-uri","fromFixed":"3.1.7","toFixed":"3.1.8","daysApart":13}]}},{"cve":"CVE-2026-86818","published":"2026-09-15","fixed":"4.1.5","kev":false,"link":{"from":"CVE-2026-84292","to":"CVE-2026-86818","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fast-uri","fromFixed":"4.1.4","toFixed":"4.1.5","daysApart":13}]}}],"package":"npm:fast-uri"}}