Authentication Bypass in Fastify Swagger UI Plugin
CVE-2026-133273
3.7LOW
What is CVE-2026-133273?
The Fastify Swagger UI plugin versions 2.1.0 through 6.1.4 have a vulnerability where authentication hooks for routes are not applied to static asset instances. This allows unauthenticated users to access potentially sensitive specification files when the bundled UI files are served from a local directory. The flaw enables read-only access to these files, which could compromise confidentiality if sensitive information is inadvertently exposed. Version 6.1.5 and later correct this flaw by enforcing authentication on all routes, including static assets, so users are urged to upgrade promptly.
Affected Version(s)
@fastify/swagger-ui 2.1.0 < 6.1.5
@fastify/swagger-ui 6.1.5
