CVE-2026-133273

Source
https://cve.org/CVERecord?id=CVE-2026-133273
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-133273.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-133273
Aliases
  • GHSA-j7qm-jhpc-mj26
Published
2026-11-21T16:50:48Z
Modified
2026-11-21T18:00:10Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
@fastify/swagger-ui vulnerable to documentation authentication bypass via the unprotected /static route
Details

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

Database specific
{
    "cna_assigner":  "openjs",
    "cwe_ids":  [
        "CWE-288"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133273.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "2.1.0"
                        },
                        {
                            "fixed":  "6.1.5"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/fastify/fastify-swagger-ui

Affected ranges

Type
GIT
Repo
https://github.com/fastify/fastify-swagger-ui
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.1.0"
                },
                {
                    "last_affected":  "6.1.4"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

v2.*
v2.1.0
v3.*
v3.0.0
v3.1.0
v4.*
v4.0.0
v5.*
v5.0.0
v5.0.1
v5.1.0
v5.2.0
v5.2.1
v5.2.2
v5.2.3
v5.2.4
v5.2.5
v5.2.6
v6.*
v6.0.0
v6.1.0
v6.1.1
v6.1.2
v6.1.3
v6.1.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-133273.json"