{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-6270","id":"CVE-2026-6270","title":"@fastify/middie vulnerable to middleware authentication bypass in child plugin scopes","description":"@fastify/middie versions 9.3.1 and earlier do not register inherited middleware directly on child plugin engine instances. When a Fastify application registers authentication middleware in a parent scope and then registers child plugins with @fastify/middie, the child scope does not inherit the parent middleware. This allows unauthenticated requests to reach routes defined in child plugin scopes, ","descriptionLong":"@fastify/middie versions 9.3.1 and earlier do not register inherited middleware directly on child plugin engine instances. When a Fastify application registers authentication middleware in a parent scope and then registers child plugins with @fastify/middie, the child scope does not inherit the parent middleware. This allows unauthenticated requests to reach routes defined in child plugin scopes, bypassing authentication and authorization checks. Upgrade to @fastify/middie 9.3.2 to fix this issue. There are no workarounds.","published":"2026-04-16T13:44:46.322Z","updated":"2026-10-28T02:30:34.026178208Z","reserved":"2026-04-14T11:08:51.828Z","status":"Analyzed","rejected":false,"assigner":"openjs","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"openjs"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"openjs"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["@fastify/middie"],"affectedProducts":[{"vendor":"@fastify/middie","product":"@fastify/middie","defaultStatus":"unaffected","versions":[{"versionType":"semver","status":"affected","version":"0","lessThan":"9.3.2"},{"versionType":"semver","status":"unaffected","version":"9.3.2"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@fastify/middie","purl":"pkg:npm/%40fastify/middie","ranges":["<9.3.2"],"fixed":["9.3.2"],"advisory":"GHSA-72c6-fx6q-fr5w"}],"cwes":["CWE-436"],"aliases":["GHSA-72c6-fx6q-fr5w"],"references":[{"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-hrwm-hgmj-7p9c","tags":["Exploit","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/fastify/middie/security/advisories/GHSA-72c6-fx6q-fr5w","tags":["Vendor Advisory","advisory","web"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6270.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6270","tags":["advisory"]},{"url":"https://github.com/fastify/middie","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00507,"epssPercentile":0.44036,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-6270","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6270","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-6270","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-72c6-fx6q-fr5w","ok":true,"note":"GHSA-72c6-fx6q-fr5w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-6270","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}