๐Ÿ” CVE Alert

CVE-2026-133273

LOW 3.7

@fastify/swagger-ui vulnerable to documentation authentication bypass via the unprotected /static route

CVSS Score
3.7
EPSS Score
0.4%
EPSS Percentile
33th

@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.

CWE CWE-288
Vendor @fastify/swagger-ui
Product @fastify/swagger-ui
Published Nov 21, 2026
Last Updated Nov 23, 2026
Stay Ahead of the Next One

Get instant alerts for @fastify/swagger-ui @fastify/swagger-ui

Be the first to know when new low vulnerabilities affecting @fastify/swagger-ui @fastify/swagger-ui are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

@fastify/swagger-ui / @fastify/swagger-ui
2.1.0 < 6.1.5

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/fastify/fastify-swagger-ui/security/advisories/GHSA-j7qm-jhpc-mj26 cna.openjsf.org: https://cna.openjsf.org/security-advisories.html

Credits

๐Ÿ” mercury-redstone-research mcollina UlisesGascon