# CVE-2026-6322: fast-uri vulnerable to host confusion via percent-encoded authority delimiters

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.68% (percentile 47, 2026-11-26)
- **CWE:** CWE-436
- **Aliases:** GHSA-v39h-62p7-jpjc
- **Published:** 2026-05-05T10:29:16.378Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Projects that depend on npm package fast-uri (\>= 3.0.0, \< 3.1.2)
- Anyone running fast-uri \< 3.1.2

## Description

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.

## Affected and fixed versions

- npm `fast-uri`: affected \>= 3.0.0, \< 3.1.2; fixed 3.1.2, 2.4.1 (osv)
- fast-uri: \< 3.1.2 (cvelist)

## Mitigation

- Upgrade fast-uri to one of 3.1.2, 2.4.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-6322. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-6322.md
Affected: fast-uri >= 3.0.0, < 3.1.2
Fixed in: 3.1.2, 2.4.1

Steps:
1. Search this machine and project for fast-uri (npm), fast-uri: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-6322 being exploited?

There is no confirmed exploitation: CVE-2026-6322 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-6322?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-6322?

fast-uri \>= 3.0.0, \< 3.1.2.

### Is there a fix for CVE-2026-6322?

Yes. Fixed in 3.1.2, 2.4.1. Upgrade fast-uri to one of 3.1.2, 2.4.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-6322?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/fastify/fast-uri/security/advisories/GHSA-v39h-62p7-jpjc>
- vendor: <https://cna.openjsf.org/security-advisories.html>
- vendor: <https://access.redhat.com/errata/RHSA-2026:42078>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34160>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34342>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37385>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25273>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34374>
- vendor: <https://access.redhat.com/errata/RHSA-2026:42142>
- vendor: <https://access.redhat.com/errata/RHSA-2026:41951>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36754>
- vendor: <https://access.redhat.com/errata/RHSA-2026:26234>
- vendor: <https://access.redhat.com/errata/RHSA-2026:29197>
- vendor: <https://access.redhat.com/errata/RHSA-2026:61783>
- vendor: <https://access.redhat.com/errata/RHSA-2026:36651>
- vendor: <https://access.redhat.com/errata/RHSA-2026:40945>
- vendor: <https://access.redhat.com/errata/RHSA-2026:40118>
- vendor: <https://access.redhat.com/errata/RHSA-2026:60855>
- vendor: <https://access.redhat.com/errata/RHSA-2026:41928>
- vendor: <https://access.redhat.com/errata/RHSA-2026:43038>
- vendor: <https://access.redhat.com/errata/RHSA-2026:60520>
- vendor: <https://access.redhat.com/errata/RHSA-2026:57487>
- vendor: <https://access.redhat.com/errata/RHSA-2026:54555>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34766>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37628>
- vendor: <https://access.redhat.com/errata/RHSA-2026:29800>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34770>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37186>
- vendor: <https://access.redhat.com/errata/RHSA-2026:29834>
- vendor: <https://access.redhat.com/errata/RHSA-2026:29796>
- vendor: <https://access.redhat.com/errata/RHSA-2026:29795>
- vendor: <https://access.redhat.com/errata/RHSA-2026:56431>
- vendor: <https://access.redhat.com/errata/RHSA-2026:56366>
- vendor: <https://access.redhat.com/errata/RHSA-2026:57013>
- vendor: <https://access.redhat.com/errata/RHSA-2026:56968>
- vendor: <https://access.redhat.com/errata/RHSA-2026:56928>
- vendor: <https://access.redhat.com/errata/RHSA-2026:33683>
- vendor: <https://access.redhat.com/errata/RHSA-2026:30076>
- vendor: <https://access.redhat.com/errata/RHSA-2026:41066>
- vendor: <https://access.redhat.com/errata/RHSA-2026:54395>
- vendor: <https://access.redhat.com/errata/RHSA-2026:28571>
- vendor: <https://access.redhat.com/errata/RHSA-2026:26225>
- vendor: <https://access.redhat.com/errata/RHSA-2026:25271>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-6322>
- other: <https://access.redhat.com/security/cve/CVE-2026-6322>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2466684>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6322.json>
- other: <https://github.com/fastify/fast-uri>
- other: <https://github.com/fastify/fast-uri/releases/tag/v2.4.1>
- other: <https://github.com/fastify/fast-uri/releases/tag/v3.1.2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-6322>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-v39h-62p7-jpjc> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-6322> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-6322>
