CVE-2026-13676
JSON

7.5high

fast-uri vulnerable to host confusion via failed IDN canonicalization

Severity
7.5high CVSS:3.1 by openjs
Exploit likelihood
0.48% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
openjs
Also known as
GHSA-4c8g-83qw-93j6

Description

fast-uri versions 2.3.1 through 3.1.2 and 4.0.0 fail to canonicalize Unicode (IDN) hostnames for HTTP-family URLs. The IDN conversion path calls a helper that does not exist on the global URL constructor, silently leaving the host in its original Unicode form while normalize() and equal() still return values that differ from a WHATWG-compatible URL parser. Applications that use fast-uri to enforce host-based policy (denylists, loopback filtering, redirect validation, outbound proxy routing) before passing the same URL to Node's URL or fetch can be bypassed when the two implementations resolve the same input to different hosts. Patches: upgrade to fast-uri 3.1.3 for the 3.x line or 4.0.1 for the 4.x line. Workarounds: enforce host policy using the same URL parser used for the actual request, or reject non-ASCII hosts before policy checks.

Affected

Product or packageVersionsReported by
fast-uri fast-urifrom 4.0.0 before 4.0.1, from 2.3.1 before 3.1.3
Not affected: 4.0.1, 3.1.3
CVE List
fast-uriNot specifiedCVE List
rh-podman-desktopNot specified
Not affected: from 0:1.1.2-1.el10_2 before *
CVE List
cluster-observability-operator/monitoring-console-plugin-pf5-rhel9Not specified
Not affected: from 1787593647 before *
CVE List
cluster-observability-operator/monitoring-console-plugin-pf6-rhel9Not specified
Not affected: from 1787597578 before *
CVE List
cluster-observability-operator/monitoring-console-plugin-rhel9Not specified
Not affected: from 1787597621 before *
CVE List
multicluster-engine/console-mce-rhel9Not specified
Not affected: from 1786911977 before *, from 1786668856 before *
CVE List
rhacm2/console-rhel9Not specified
Not affected: from 1786908361 before *, from 1787335105 before *
CVE List
ansible-automation-platform/automation-portalNot specified
Not affected: from 1784622951 before *
CVE List
ansible-automation-platform-tech-preview/mcp-server-rhel9Not specified
Not affected: from 1785773509 before *
CVE List
ansible-automation-platform-27/mcp-server-rhel9Not specified
Not affected: from 1785413994 before *
CVE List
rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backendNot specified
Not affected: from 1785332487 before *
CVE List

All scores

openjs7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-436CWE-551

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

fast-uri versions 2.3.1 through 3.1.2 and 4.0.0 fail to canonicalize Unicode (IDN) hostnames for HTTP-family URLs. The IDN conversion path calls a helper that does not exist on the global URL constructor, silently leaving the host in its original Unicode form while normalize() and equal() still return values that differ from a WHATWG-compatible URL parser. Applications that use fast-uri to enforce host-based policy (denylists, loopback filtering, redirect validation, outbound proxy routing) before passing the same URL to Node's URL or fetch can be bypassed when the two implementations resolve the same input to different hosts. Patches: upgrade to fast-uri 3.1.3 for the 3.x line or 4.0.1 for the 4.x line. Workarounds: enforce host policy using the same URL parser used for the actual request, or reject non-ASCII hosts before policy checks.

GitHub Advisory Database
Impact

fast-uri versions >= 2.3.1, <= 4.0.0 fail to canonicalize Unicode/IDN hostnames for HTTP-family URLs. The IDN conversion path calls URL.domainToASCII(...) on the global WHATWG URL constructor, where that helper does not exist. The resulting TypeError is silently routed into parsed.error, but parse(), normalize(), and equal() all return with the host left in its original Unicode form.

For example, http://127。0。0。1/ is treated by fast-uri as host 127。0。0。1, while Node's WHATWG URL parser and fetch() canonicalize the same input to 127.0.0.1.

Applications that use fast-uri to enforce host-based policy (denylists, loopback filtering, redirect validation, outbound proxy routing) before passing the same URL into Node's URL or fetch() consumers see a policy/use desync and can be steered to an unintended destination.

Patches

Upgrade to fast-uri v4.0.1, v3.1.3, or v2.4.2

Workarounds

None. Upgrade to the patched version.

References

https://github.com/fastify/fast-uri/security/advisories/GHSA-4c8g-83qw-93j6patch, vendor-advisory, web
https://cna.openjsf.org/security-advisories.htmlvendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-13676third-party-advisory, vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2494197issue-tracking, third-party-advisory, web
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-13676.jsonthird-party-advisory, web
https://access.redhat.com/errata/RHSA-2026:61314vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:57590vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:66545vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:66488vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:57191vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:60386vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:42815vendor-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2026-13676 changed 2026-09-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-4c8g-83qw-93j6 changed 2026-09-11CC-BY-4.0
NVDCVE-2026-13676 changed 2026-09-11Public domain