Skip to content
RedCVE

CVE-2026-133273@fastify/swagger-ui authentication bypass

@fastify/swagger-uiPublished:

CVSS score

3.7

Low

CVSS 3.1 from ce714d77-add3-4f53-aff5-83d477b104bb

Exploit probability (EPSS)

0.38%

0.38% chance of exploitation in the next 30 days, higher than 32.9% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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

Source: NVD · CNA: ce714d77-add3-4f53-aff5-83d477b104bb

How to fix it, step by step

  1. Check whether you're affected

    Find every system running @fastify/swagger-ui and compare its version with the affected versions.

  2. Update to a fixed version

    • Update @fastify/swagger-ui to 6.1.5 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

Affected productsVersions
@fastify/swagger-ui @fastify/swagger-ui≥ 2.1.0, < 6.1.5

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-133273 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-133273?

CVE-2026-133273 has a CVSS 3.1 base score of 3.7 (low).

Which versions are affected?

Fastify Swagger UI @fastify/swagger-ui (≥ 2.1.0, < 6.1.5)

Is there a patch for CVE-2026-133273?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.