Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
3.7

CVE-2026-133273: @fastify/swagger-ui allows unauthenticated access to docs files

CVE-2026-133273 · published today
Summary

The Fastify plugin that shows API documentation can expose its static files to anyone when a certain option is turned on. This means a user could view specification files that were meant to be protected without any login. Upgrading the plugin to version 6.1.5 or newer will lock down those files.

What to do
  • Update @fastify/swagger-ui @fastify/swagger-ui to version 6.1.5 or later.
Affected software
VendorProductAffected versions
@fastify/swagger-ui @fastify/swagger-ui < 6.1.5
Original advisory text
@fastify/swagger-ui vulnerable to documentation authentication bypass via the unprotected /static route
@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.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker partial control (estimated)
Severity
3.7 Low
Type
CWE-288Authentication Bypass Using Alternate Path
Timeline
Published21 Nov 2026
Updated21 Nov 2026
First seen21 Nov 2026
Sources
CVE-2026-133273 · MITRE
Track software like this
Free during beta