# CVE-2026-33804: @fastify/middie vulnerable to middleware bypass via deprecated ignoreDuplicateSlashes option

- Severity: High 7.4 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A: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.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-04-16T13:56:56.176Z
- Modified: 2026-06-17T10:38:07.300Z
- Also known as: GHSA-v9ww-2j6r-98q6
- Weaknesses: CWE-436
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: openjs

## Description

@fastify/middie versions 9.3.1 and earlier are vulnerable to middleware bypass when the deprecated Fastify ignoreDuplicateSlashes option is enabled. The middleware path matching logic does not account for duplicate slash normalization performed by Fastify's router, allowing requests with duplicate slashes to bypass middleware authentication and authorization checks. This only affects applications using the deprecated ignoreDuplicateSlashes option. Upgrade to @fastify/middie 9.3.2 to fix this issue. There are no workarounds other than disabling the ignoreDuplicateSlashes option.

(As written by CVE List.)

## Affected

- @fastify/middie @fastify/middie: before 9.3.2 (not affected: 9.3.2)
- @fastify/middie (npm): before 9.3.2
- fastify fastify/middie: before 9.3.2

## Every score

- openjs: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A: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/middie/security/advisories/GHSA-v9ww-2j6r-98q6> (mitigation, vendor-advisory, web)
- <https://cna.openjsf.org/security-advisories.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33804> (advisory)
- <https://github.com/fastify/middie> (package)

## Sources

- CVE List: [CVE-2026-33804](https://www.cve.org/CVERecord?id=CVE-2026-33804), CVE Terms of Use, modified 2026-04-16
- GitHub Advisory Database: [GHSA-v9ww-2j6r-98q6](https://github.com/advisories/GHSA-v9ww-2j6r-98q6), CC-BY-4.0, modified 2026-04-16
- NVD: [CVE-2026-33804](https://nvd.nist.gov/vuln/detail/CVE-2026-33804), Public domain, modified 2026-06-17

---

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