CVE-2026-13676

Source
https://cve.org/CVERecord?id=CVE-2026-13676
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13676.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-13676
Aliases
  • GHSA-4c8g-83qw-93j6
Downstream
Related
Published
2026-06-29T13:22:44.674Z
Modified
2026-07-11T03:53:48.347534629Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
fast-uri vulnerable to host confusion via failed IDN canonicalization
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13676.json",
    "cna_assigner": "openjs",
    "cwe_ids": [
        "CWE-436"
    ]
}
References

Affected packages

Git / github.com/fastify/fast-uri

Affected ranges

Type
GIT
Repo
https://github.com/fastify/fast-uri
Events
Database specific
{
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "2.3.1"
        },
        {
            "fixed": "3.1.3"
        },
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.0.1"
        }
    ]
}

Affected versions

v2.*
v2.3.1
v2.4.0
v3.*
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.0.4
v3.0.5
v3.0.6
v3.1.0
v3.1.1
v3.1.2
v4.*
v4.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13676.json"