CVE-2026-133273
Published:November 21, 2026
Updated:November 23, 2026
@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.
Affected Packages
https://github.com/fastify/fastify-swagger-ui.git (GITHUB):
Affected version(s) =v2.1.0 <v6.1.5 || >=v3.0.0 <v6.1.5 || >=v4.0.0 <v6.1.5 || >=v5.0.0 <v6.1.5 || >=v6.0.0 <v6.1.5Fix Suggestion:
Update to version v6.1.5@fastify/swagger-ui (NPM):
Affected version(s) >=5.0.0 <6.1.5 || >=4.0.0 <6.1.5 || =2.1.0 <6.1.5 || >=6.0.0 <6.1.5 || >=3.0.0 <6.1.5Fix Suggestion:
Update to version 6.1.5Related ResourcesĀ (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Authentication Bypass Using an Alternate Path or Channel
EPSS
Base Score:
0.38