Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
CriticalPublic exploit

Authentication Bypass in @fastify/middie Child Plugin Middleware Inheritance

IdentifiersCVE-2026-6270CWE-436· Interpretation Conflict

CVE-2026-6270 is an authentication and authorization bypass vulnerability in @fastify/middie affecting versions 9.3.1 and earlier. The flaw occurs because inherited middleware registered in a parent Fastify scope is not directly registered on child plugin engine instances. In affected applications, when authentication middleware is defined in a parent scope and routes are later exposed from child plugins using @fastify/middie, the child scope may fail to inherit and execute the parent middleware. The issue is described as stemming from incorrect middleware path prefix propagation during child plugin registration, causing the effective middleware path to no longer match incoming requests. As a result, middleware that developers expect to protect child-scope routes silently never runs, allowing requests to reach those routes without the intended authentication or authorization checks.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows remote unauthenticated access to routes defined in affected child plugin scopes. This can bypass authentication and authorization controls and expose protected application functionality and data. Based on the provided CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N), the primary impacts are high confidentiality and high integrity impact, with no stated direct availability impact. The flaw is particularly dangerous because skipped middleware produces no obvious runtime errors or warnings, making exposure easy to miss during normal testing and operation.

Mitigation

If you can’t patch tonight, do this now.

The available information states there are no workarounds for this vulnerability. If immediate upgrade is not possible, the information currently available does not provide a supported mitigation. In practice, risk reduction would require avoiding reliance on inherited parent-scope middleware for protection of child plugin routes until the fixed version is deployed, but this is not presented in the source content as an official workaround.

Remediation

Patch, then assume compromise.

Upgrade @fastify/middie to version 9.3.2, which fixes the middleware inheritance and path prefix propagation issue affecting child plugin scopes. The provided content states this is the recommended and only remediation path.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
FastifyFastify/Middieapplication
FastifyMiddieapplication
Openjsf@Fastify/Middieapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity3

Community discussion across Reddit, Mastodon, and other social sources.