{"answers":{"affected":"1 open source package ship an affected version, including %40fastify/swagger-ui.","exploited":"There is no known exploitation of CVE-2026-133273 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.","fix":"Upgrade each affected package to the fixed version listed for it above. Each package has its own fixed versions.","what":"CVE-2026-133273 is a low-severity authentication bypass vulnerability in @fastify/swagger-ui, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-133273 and fix it if it is affected.\n\nWhat it is: CVE-2026-133273 is a low-severity authentication bypass vulnerability in @fastify/swagger-ui, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-133273 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- %40fastify/swagger-ui (npm): affected from 2.1.0; fixed in 6.1.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-133273/ (Markdown: https://insights.sbomify.com/CVE-2026-133273/index.md)","id":"CVE-2026-133273","markdown":"https://insights.sbomify.com/CVE-2026-133273/index.md","name":"CVE-2026-133273","record":{"aliases":["GHSA-j7qm-jhpc-mj26"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Fastify plugin","requires_auth":"none","requires_specific_call":true,"summary":"Unauthenticated clients can read protected Swagger UI specification files via the unprotected static route when local file serving is enabled.","user_interaction":"not_required","vuln_class":"auth_bypass","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"openjs","component":null,"cpe":[],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-288","name":"Authentication Bypass Using an Alternate Path or Channel"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"@fastify/swagger-ui vulnerable to documentation authentication bypass via the unprotected /static route","id":"CVE-2026-133273","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"auth_bypass","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":1,"n_references":2,"n_vendor_status":0,"next":{"headline":"THC-Hydra through 9.7 Stack Buffer Overflow via hydra-http-form.c Cookie Handling","id":"CVE-2026-133274"},"nickname":null,"packages":[{"ecosystem":"npm","fixed":["6.1.5"],"introduced":["2.1.0"],"last_affected":[],"name_kind":null,"package":"%40fastify/swagger-ui","purl":"pkg:npm/%40fastify/swagger-ui","purl_source":"cna","scope":"upstream","source":"CVE-2026-133273"}],"prev":{"headline":"In JetBrains YouTrack before 2026.2.19728 missing authorization allowed creating sub-articles without the Create Article permission","id":"CVE-2026-133268"},"products":["@fastify/swagger-ui"],"published":"2026-11-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-21","vendor_status":[],"vendors":["@fastify/swagger-ui"]},"summary":"Unauthenticated clients can read protected Swagger UI specification files via the unprotected static route when local file serving is enabled.","url":"https://insights.sbomify.com/CVE-2026-133273/"}