CVE-2026-110306fast-uri vulnerable to URI scheme spoofing via percent-encoded scheme decoding
fast-uri is a dependency-free RFC 3986 URI parser and serializer for Node.js. In versions before 2.4.8, from 3.0.0 through 3.1.8, and from 4.0.0 through 4.2.2, fast-uri percent-decodes the scheme component with the legacy global unescape() function before validating it, so an input whose decoded scheme is a dangerous token is emitted as a live scheme even though RFC 3986 does not allow percent-encoding in a scheme and no other parser accepts it. An application that screens dangerous schemes on the raw input and then stores or renders the normalized or resolved result can turn an inert string into an executable javascript, data, or vbscript URL, producing a stored or reflected cross-site scripting vector, and the equal() comparison treats an encoded and a plain scheme as the same, which can bypass equality-based allowlists. The issue is fixed in fast-uri 2.4.8, 3.1.9, and 4.2.3, and users should upgrade to one of these versions or later. As a workaround, reject input whose scheme part contains a percent sign, or check the parsed scheme against an allowlist after normalization and use that same parsed result rather than the raw string.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-ajv | Fix pending | UBUNTU-CVE-2026-110306 | |
| Ubuntu 26.04 | node-ajv | Under investigation | UBUNTU-CVE-2026-110306 | |
| Ubuntu 24.04 | node-ajv | Under investigation | UBUNTU-CVE-2026-110306 | |
| Ubuntu 22.04 | node-ajv | Under investigation | UBUNTU-CVE-2026-110306 | |
| Ubuntu 20.04 | node-ajv | Fix pending | UBUNTU-CVE-2026-110306 | |
| Ubuntu 18.04 | node-ajv | Fix pending | UBUNTU-CVE-2026-110306 | |
| Debian 14 | node-ajv | Fixed | 8.20.0~ds+~cs7.2.4-1 | DEBIAN-CVE-2026-110306 |
| Debian 13 | node-ajv | Fix pending | DEBIAN-CVE-2026-110306 | |
| Debian 12 | node-ajv | Fix pending | DEBIAN-CVE-2026-110306 | |
| Red Hat Enterprise Linux 10 | cockpit-image-builder | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | dotnet8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | grafana-pcp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | linux-sgx | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | aspnetcore-runtime-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | aspnetcore-runtime-dbg-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | aspnetcore-targeting-pack-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-apphost-pack-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-host | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-hostfxr-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-runtime-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-runtime-dbg-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-8.0-source-built-artifacts | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-dbg-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-targeting-pack-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet-templates-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dotnet8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | linux-sgx | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | netstandard-targeting-pack-2.1 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | sgx-common | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | sgx-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | sgx-mpa | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | sgx-pccs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | sgx-pccs-admin | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | sgx-pckid-tool | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | tdx-qgs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-dbg-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-host | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-dbg-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-8.0-source-built-artifacts | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-dbg-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet-templates-8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | dotnet8.0 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | netstandard-targeting-pack-2.1 | Fix pending Fix deferred | ||
| npm library | fast-uri | Fixed | 4.2.3 | GHSA-w74x-v6f9-j3xg |
What the vendor says
As published in the CVE record by openjs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- fast-uri: affected: before 2.4.8, 2.4.8 not affected, 3.0.0 to before 3.1.9, 3.1.9 not affected, 4.0.0 to before 4.2.3, 4.2.3 not affected; fixed in
2.4.8,3.1.9,4.2.3
References
- https://github.com/fastify/fast-uri/security/advisories/GHSA-w74x-v6f9-j3xg
- https://cna.openjsf.org/security-advisories.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.