Authentication Bypass in Fastify Swagger UI Plugin
CVE-2026-133273

3.7LOW

Key Information:

Vendor
CVE Published:
21 November 2026

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

References

CVSS V3.1

Score:
3.7
Severity:
LOW
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

mercury-redstone-research
mcollina
UlisesGascon
.