Security mailing lists by PureSourceCode

CVE-2026-6270

CRITICAL 9.1CVSS 3.1

@fastify/middie vulnerable to middleware authentication bypass in child plugin scopes

@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
16 Apr 2026
Last modified
8 Jul 2026
Assigned by
ce714d77-add3-4f53-aff5-83d477b104bb
NVD status
Analyzed
Weakness
CWE-436
Also known as
GHSA-72c6-fx6q-fr5w
Sources
NVDJSONOSV GHSA-72c6-fx6q-fr5wJSON

Scores

SourceScored byVersionScoreVector / decision
NVD ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD fastify fastify/middie
cpe:2.3:a:fastify:fastify\/middie:*:*:*:*:*:node.js:*:*
< 9.3.2 9.3.2
OSV npm @fastify/middie < 9.3.2 9.3.2

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 16 Apr 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 16 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.