BuildRiot
Sign in

SecuritySource: Red Hat

fast-uri fixes encoded-scheme flaw that can bypass application URL checks

A fast-uri flaw lets encoded URI schemes bypass application scheme validation, potentially exposing applications to cross-site scripting. Fixed releases are available for all three affected version lines.

Red Hat logo
Cover: BuildRiot

fast-uri maintainers disclosed CVE-2026-110306 on October 19, 2026, describing an application scheme validation bypass involving encoded uniform resource identifier (URI) schemes. According to the advisory, applications that validate raw input before rendering a transformed URI can expose a cross-site scripting path. Sources: fastify/fast-uri

The advisory attributes the flaw to legacy unescape() behavior that decodes the scheme before validation, accepting encodings that the URI standard RFC 3986 prohibits. Its example shows normalize('%6Aavascript:alert(1)') producing javascript:alert(1), and it also documents encoded-scheme handling in parse(), resolve() and equal(). Sources: fastify/fast-uri

Affected versions are those below 2.4.8, versions from 3.0.0 up to but excluding 3.1.9, and versions from 4.0.0 up to but excluding 4.2.3. The advisory lists 2.4.8, 3.1.9 and 4.2.3 as fixed releases. Sources: fastify/fast-uri

The maintainer advisory describes an allowlist bypass when applications treat encoded and plain schemes as equivalent. Sources: fastify/fast-uri

What to do

  1. Upgrade affected fast-uri installations to the fixed release for their version line: 2.4.8, 3.1.9 or 4.2.3. Sources: fastify/fast-uri

Why it matters

A URI transformation can turn input that passed an application's checks into an executable scheme. The risk depends on how the application consumes the result; browser-specific exploitability remains unverified.

Attribution

Sources

  1. 1Red HatCVE-2026-110306 - Red Hat Customer PortalSource published (UTC)
  2. 2fastify/fast-urifast-uri vulnerable to URI scheme spoofing via percent-encoded scheme decodingSource published (UTC)
  3. 3SecAlertsCVE-2026-110306 - fast-uri vulnerable to URI scheme spoofing via percent-encoded scheme decodingSource published (UTC)

Read the original source for full details and context.

Report a problem

Links, dates or what you expected. Do not include passwords or private data.

More on Security

All Security stories