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.
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:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- @fastify/swagger-ui >= 2.1.0 and < 6.1.5
- @fastify/swagger-ui 6.1.5
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run @fastify/swagger-ui and which version.
- 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 alertsExternal References
Data last checked: Nov 22, 2026 14:11 UTC