fast-uri vulnerable to host confusion via percent-encoded authority delimiters
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 <= 3.1.1 are affected. Update to 3.1.2 or later.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-6322
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 03:51 UTC · Revision 1
Source evidence
fast-uri vulnerable to host confusion via percent-encoded authority delimiters
core-osv · Original sourcePublished 5 May 2026, 10:29 UTC
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 <= 3.1.1 are affected. Update to 3.1.2 or later.
osv:CVE-2026-6322
Complete source record
{
"id": "7a99c647b2dda64465255d6cbc4749e5dcfc79a925ae4353b077235b15b73382",
"url": "https://osv.dev/vulnerability/CVE-2026-6322",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "fast-uri vulnerable to host confusion via percent-encoded authority delimiters",
"summary": "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 <= 3.1.1 are affected. Update to 3.1.2 or later.",
"evidence": "osv:CVE-2026-6322",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-6322",
"aliases": [
"CVE-2026-6322",
"GHSA-v39h-62p7-jpjc"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/fastify/fast-uri",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "919dd8ea7689fcc220d0d9b71307f5095e723ef9"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.1.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.1.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"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/cve-osv-conversion/osv-output/CVE-2026-6322.json"
}
}
],
"modified": "2026-10-28T02:30:42.248542203Z",
"provider": "osv",
"references": [
"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6322.json",
"https://access.redhat.com/errata/RHSA-2026:25271",
"https://access.redhat.com/errata/RHSA-2026:25273",
"https://access.redhat.com/errata/RHSA-2026:26225",
"https://access.redhat.com/errata/RHSA-2026:26234",
"https://access.redhat.com/errata/RHSA-2026:28571",
"https://access.redhat.com/errata/RHSA-2026:29197",
"https://access.redhat.com/errata/RHSA-2026:29795",
"https://access.redhat.com/errata/RHSA-2026:29796",
"https://access.redhat.com/errata/RHSA-2026:29800",
"https://access.redhat.com/errata/RHSA-2026:29834",
"https://access.redhat.com/errata/RHSA-2026:30076",
"https://access.redhat.com/errata/RHSA-2026:33683",
"https://access.redhat.com/errata/RHSA-2026:34160",
"https://access.redhat.com/errata/RHSA-2026:34342",
"https://access.redhat.com/errata/RHSA-2026:34374",
"https://access.redhat.com/errata/RHSA-2026:34766",
"https://access.redhat.com/errata/RHSA-2026:34770",
"https://access.redhat.com/errata/RHSA-2026:36651",
"https://access.redhat.com/errata/RHSA-2026:36754",
"https://access.redhat.com/errata/RHSA-2026:37186",
"https://access.redhat.com/errata/RHSA-2026:37385",
"https://access.redhat.com/errata/RHSA-2026:37628",
"https://access.redhat.com/errata/RHSA-2026:40118",
"https://access.redhat.com/errata/RHSA-2026:40945",
"https://access.redhat.com/errata/RHSA-2026:41066",
"https://access.redhat.com/errata/RHSA-2026:41928",
"https://access.redhat.com/errata/RHSA-2026:41951",
"https://access.redhat.com/errata/RHSA-2026:42078",
"https://access.redhat.com/errata/RHSA-2026:42142",
"https://access.redhat.com/errata/RHSA-2026:43038",
"https://access.redhat.com/errata/RHSA-2026:54395",
"https://access.redhat.com/errata/RHSA-2026:54555",
"https://access.redhat.com/errata/RHSA-2026:56366",
"https://access.redhat.com/errata/RHSA-2026:56431",
"https://access.redhat.com/errata/RHSA-2026:56928",
"https://access.redhat.com/errata/RHSA-2026:56968",
"https://access.redhat.com/errata/RHSA-2026:57013",
"https://access.redhat.com/errata/RHSA-2026:57487",
"https://access.redhat.com/errata/RHSA-2026:60520",
"https://access.redhat.com/errata/RHSA-2026:60855",
"https://access.redhat.com/errata/RHSA-2026:61783",
"https://access.redhat.com/security/cve/CVE-2026-6322",
"https://cna.openjsf.org/security-advisories.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6322.json",
"https://github.com/fastify/fast-uri/security/advisories/GHSA-v39h-62p7-jpjc",
"https://nvd.nist.gov/vuln/detail/CVE-2026-6322",
"https://bugzilla.redhat.com/show_bug.cgi?id=2466684"
],
"provider_metadata": {
"cwe_ids": [
"CWE-436"
],
"cna_assigner": "openjs",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6322.json"
}
},
"related_cves": [
{
"value": "CVE-2026-6322",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509985,
"published_at": "2026-05-05T10:29:16.378+00:00"
}