{"id":"CVE-2026-6322","summary":"fast-uri vulnerable to host confusion via percent-encoded authority delimiters","details":"fast-uri normalize() decoded percent-encoded authority delimiters inside the host component and then re-emitted them as raw delimiters during serialization. A host that combined an allowed domain, an encoded at-sign, and a different domain was re-emitted with the at-sign as a raw userinfo separator, changing the URI's authority to the second domain. Applications that normalize untrusted URLs before host allowlist checks, redirect validation, or outbound request routing can be steered to a different authority than the input appeared to specify. Versions \u003c= 3.1.1 are affected. Update to 3.1.2 or later.","aliases":["GHSA-v39h-62p7-jpjc"],"modified":"2026-07-12T03:54:52.925295858Z","published":"2026-05-05T10:29:16.378Z","related":["CGA-5vr9-c8qr-fqvg"],"database_specific":{"cna_assigner":"openjs","cwe_ids":["CWE-436"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6322.json"},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6322.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25271"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:25273"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26225"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26234"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:28571"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:29197"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:29795"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:29796"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:29800"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:29834"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30076"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33683"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34160"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34342"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34374"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34766"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:34770"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36651"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36754"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37385"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-6322"},{"type":"ADVISORY","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6322.json"},{"type":"ADVISORY","url":"https://github.com/fastify/fast-uri/security/advisories/GHSA-v39h-62p7-jpjc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6322"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2466684"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fastify/fast-uri","events":[{"introduced":"0"},{"fixed":"919dd8ea7689fcc220d0d9b71307f5095e723ef9"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.1.2"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:*"}}],"versions":["v3.1.1","v3.1.0","v3.0.6","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.4.0","v2.3.1","v2.3.0","v2.2.0","v2.1.0","v2.0.0","v1.0.1","v1.0.0","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-6322.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}