# CVE-2026-133273: @fastify/swagger-ui vulnerable to documentation authentication bypass via the unprotected /static route

- Severity: Low 3.7 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/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.48%, higher than 43% of CVEs (2026-12-01)
- Published: 2026-11-21T16:50:48.262Z
- Modified: 2026-11-23T21:16:57.017Z
- Weaknesses: CWE-288
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openjs

## Description

@fastify/swagger-ui is the plugin that serves Swagger UI documentation for Fastify applications. In versions 2.1.0 through 6.1.4, the authentication hooks that applications register to protect the documentation are applied to every route the plugin adds except the bundled static asset instance. When the option that serves bundled UI files from a local directory is enabled, that instance exposes every file in the directory without credentials, so a specification file an operator meant to keep behind the documentation login becomes reachable by an unauthenticated client who knows or guesses its name. Access is read-only and limited to files in that directory. The issue is fixed in @fastify/swagger-ui 6.1.5, which applies the same authentication hooks to the static asset route, and users should upgrade to 6.1.5 or later.

(As written by CVE List.)

## Affected

- @fastify/swagger-ui @fastify/swagger-ui: from 2.1.0 before 6.1.5 (not affected: 6.1.5)

## References

- <https://github.com/fastify/fastify-swagger-ui/security/advisories/GHSA-j7qm-jhpc-mj26>
- <https://cna.openjsf.org/security-advisories.html>

## Sources

- CVE List: [CVE-2026-133273](https://www.cve.org/CVERecord?id=CVE-2026-133273), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-133273](https://nvd.nist.gov/vuln/detail/CVE-2026-133273), Public domain, modified 2026-11-23

---

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