{"answers":{"affected":"2 open source packages ship an affected version, including h3. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33131 exists.","fix":"Upgrade h3 to 2.0.1-rc.15 or later.","what":"CVE-2026-33131 is a high-severity authentication bypass vulnerability in h3js h3, published on 20 Mar 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-33131 and fix it if it is affected.\n\nWhat it is: CVE-2026-33131 is a high-severity authentication bypass vulnerability in h3js h3, published on 20 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33131 exists.\n\nAffected packages and fixed versions:\n- h3 (npm): affected from 2.0.0-0; fixed in 2.0.1-rc.15\n- h3 (npm): affected from 2.0.0-0; fixed in 2.0.1-rc.15\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-33131/ (Markdown: https://insights.sbomify.com/CVE-2026-33131/index.md)","id":"CVE-2026-33131","markdown":"https://insights.sbomify.com/CVE-2026-33131/index.md","name":"CVE-2026-33131","record":{"aliases":["GHSA-3vj8-jmxq-cgj5"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"H3 HTTP framework","requires_auth":"none","summary":"Attackers can bypass authentication middleware in H3 applications by spoofing the Host header, allowing unauthorized access to protected routes.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"h3","vendor":"h3"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"description":"H3 is a minimal H(TTP) framework. Versions 2.0.0-0 through 2.0.1-rc.14 contain a Host header spoofing vulnerability in the NodeRequestUrl (which extends FastURL) which allows middleware bypass. When event.url, event.url.hostname, or event.url._url is accessed, such as in a logging middleware, the _url getter constructs a URL from untrusted data, including the user-controlled Host header. Because H3's router resolves the route handler before middleware runs, an attacker can supply a crafted Host header (e.g., Host: localhost:3000/abchehe?) to make the middleware path check fail while the route handler still matches, effectively bypassing authentication or authorization middleware. This affects any application built on H3 (including Nitro/Nuxt) that accesses event.url properties in middleware guarding sensitive routes. The issue requires an immediate fix to prevent FastURL.href from being constructed with unsanitized, attacker-controlled input. Version 2.0.1-rc.15 contains a patch for this issue.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"h3 has a middleware bypass with one gadget","id":"CVE-2026-33131","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"ZITADEL is missing enforcement of organization scopes","id":"CVE-2026-33132"},"packages":[{"ecosystem":"npm","fixed":["2.0.1-rc.15"],"introduced":["2.0.0-0"],"last_affected":[],"package":"h3","purl":null,"source":"GHSA-3vj8-jmxq-cgj5"},{"ecosystem":"npm","fixed":["2.0.1-rc.15"],"introduced":["2.0.0-0"],"last_affected":[],"package":"h3","purl":"pkg:npm/h3","source":"GHSA-3vj8-jmxq-cgj5"}],"prev":{"headline":"Uptime Kuma: SSTI in Notification Templates Allows Arbitrary File Read (Incomplete Fix for GHSA-vffh-c9pq-4crh)","id":"CVE-2026-33130"},"products":["h3"],"published":"2026-03-20","related":[{"cvss_score":8.9,"headline":"h3 v1 has Request Smuggling (TE.TE) issue","id":"CVE-2026-23527","kev_date_added":null,"published":"2026-01-15"},{"cvss_score":7.5,"headline":"h3 has a Server-Sent Events Injection via Unsanitized Newlines in Event Stream Fields","id":"CVE-2026-33128","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":5.9,"headline":"h3 has an observable timing discrepancy in basic auth utils","id":"CVE-2026-33129","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":3.7,"headline":"h3: Missing Path Segment Boundary Check in `mount()` Causes Middleware Execution on Unrelated Prefix-Matching Routes","id":"CVE-2026-33490","kev_date_added":null,"published":"2026-03-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-20","vendors":["h3js"]},"summary":"Attackers can bypass authentication middleware in H3 applications by spoofing the Host header, allowing unauthorized access to protected routes.","url":"https://insights.sbomify.com/CVE-2026-33131/"}