{
  "id": "CVE-2026-6270",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-6270",
  "published_at": "2026-04-16T13:44:46.322Z",
  "title": "@fastify/middie vulnerable to middleware authentication bypass in child plugin scopes",
  "vendor": "@fastify/middie",
  "product": "@fastify/middie",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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, bypassing authentication and authorization checks. Upgrade to @fastify/middie 9.3.2 to fix this issue. There are no workarounds.",
  "cwe": "CWE-436",
  "cpes": [
    "cpe:2.3:a:fastify:fastify\\/middie:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "@fastify/middie",
        "product": "@fastify/middie",
        "ranges": [
          "\u003c 9.3.2"
        ],
        "fixed_in": [
          "9.3.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade @fastify/middie to 9.3.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/fastify/fastify-express/security/advisories/GHSA-hrwm-hgmj-7p9c"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/fastify/middie/security/advisories/GHSA-72c6-fx6q-fr5w"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
