{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "9.1.0"
              },
              {
                "fixed": "9.3.4"
              },
              {
                "introduced": "0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "8de54e35035cefa5ca13fd9f06c7b38185038a0e"
            },
            {
              "fixed": "310c7ef480bf1db2508316db7a42fdf274e6802e"
            }
          ],
          "repo": "https://github.com/fastify/middie",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-hx87-8wv7-pjv8"
  ],
  "database_specific": {
    "cna_assigner": "openjs",
    "cwe_ids": [
      "CWE-436"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85184.json"
  },
  "details": "@fastify/middie versions \u003e= 9.1.0 and before 9.3.4 decide whether to run path-scoped middleware by matching against the raw request target, while the Fastify router resolves an absolute-form request target to its path before dispatching. Because the two layers evaluate different strings, a request using an absolute-form target reaches the route handler while the path-scoped middleware, such as authentication or authorization, is skipped. An unauthenticated network attacker can use this to bypass path-based access controls in a Fastify application that relies on middie for those controls. Users should upgrade to @fastify/middie 9.3.4 or later.",
  "id": "CVE-2026-85184",
  "modified": "2026-09-10T03:30:56.486609634Z",
  "published": "2026-09-04T09:15:51.216Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://cna.openjsf.org/security-advisories.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85184.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/fastify/middie/security/advisories/GHSA-hx87-8wv7-pjv8"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85184"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "@fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target"
}