CVE Watchtower

CVE-2026-133273@fastify/swagger-ui

NVDCVSS scored by ce714d77-add3-4f53-aff5-83d477b104bb

Vulnerability Summary

@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.
Severity Level
LOW(3.7)
Published Date
Nov 21, 2026
Last Modified
Nov 21, 2026
Exploitation Status
No confirmed exploitation yet
Root Weakness (CWE)
See the MITRE CWE entry for the full definition of this weakness.
CVSS v3.1 Base Metrics — Score 3.7 (LOW)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • @fastify/swagger-ui >= 2.1.0 and < 6.1.5
Patched Versions
  • @fastify/swagger-ui 6.1.5

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run @fastify/swagger-ui and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 21, 2026Published
  • Nov 21, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new @fastify/swagger-ui CVEsYou are reading CVE-2026-133273. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 22, 2026 14:11 UTC