# CVE-2026-33808: @fastify/express vulnerable to middleware authentication bypass via URL normalization gaps (duplicate slashes and semicolons)

- Severity: Critical 9.1 (CVSS:4.0, scored by openjs) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-15T09:29:46.091Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-6hw5-45gm-fj88
- Weaknesses: CWE-436
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: openjs

## Description

Impact@fastify/express v4.0.4 and earlier fails to normalize URLs before passing them to Express middleware when Fastify router normalization options are enabled. This allows complete bypass of path-scoped authentication middleware via duplicate slashes when ignoreDuplicateSlashes is enabled, or via semicolon delimiters when useSemicolonDelimiter is enabled. In both cases, Fastify router normalizes the URL and matches the route, but @fastify/express passes the original un-normalized URL to Express middleware, which fails to match and is skipped. An unauthenticated attacker can access protected routes by manipulating the URL path.

PatchesUpgrade to @fastify/express v4.0.5 or later.

(As written by CVE List.)

## Affected

- fastify @fastify/express: before 4.0.5 (not affected: 4.0.5)
- @fastify/express (npm): before 4.0.5
- fastify fastify/express: before 4.0.5

## Every score

- openjs: CVSS:4.0 9.1 Critical `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/fastify/fastify-express/security/advisories/GHSA-6hw5-45gm-fj88> (exploit, mitigation, vendor-advisory, web)
- <https://cna.openjsf.org/security-advisories.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33808> (advisory)
- <https://github.com/fastify/fastify-express> (package)

## Sources

- CVE List: [CVE-2026-33808](https://www.cve.org/CVERecord?id=CVE-2026-33808), CVE Terms of Use, modified 2026-04-15
- GitHub Advisory Database: [GHSA-6hw5-45gm-fj88](https://github.com/advisories/GHSA-6hw5-45gm-fj88), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-33808](https://nvd.nist.gov/vuln/detail/CVE-2026-33808), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-33808 · Whole record: https://cve.day/CVE-2026-33808.json · Rebuilt by cve.day 2026-11-25T22:59:18.826Z
