{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "Next.js middleware authorization bypass via x-middleware-subrequest (CVE-2025-29927) · updates",
  "home_page_url": "https://pwn.watch/i/nextjs-middleware-auth-bypass-cve-2025-29927",
  "feed_url": "https://pwn.watch/i/nextjs-middleware-auth-bypass-cve-2025-29927/feed.json",
  "description": "Sending a crafted x-middleware-subrequest header made self-hosted Next.js skip middleware entirely, bypassing auth checks done there. Apps hosted on Vercel were protected. Fixed in 12.3.5, 13.5.9, 14.2.25 and 15.2.3; otherwise strip the header at the edge.",
  "language": "en",
  "_pwn": {
    "slug": "nextjs-middleware-auth-bypass-cve-2025-29927",
    "severity": "critical",
    "status": "closed",
    "patchStatus": "patched",
    "rss": "https://pwn.watch/i/nextjs-middleware-auth-bypass-cve-2025-29927/feed.xml",
    "llms": "https://pwn.watch/i/nextjs-middleware-auth-bypass-cve-2025-29927/llms.txt",
    "json": "https://pwn.watch/i/nextjs-middleware-auth-bypass-cve-2025-29927.json"
  },
  "items": [
    {
      "id": "https://pwn.watch/i/nextjs-middleware-auth-bypass-cve-2025-29927#2025-03-22-4b09f069",
      "url": "https://pwn.watch/i/nextjs-middleware-auth-bypass-cve-2025-29927#2025-03-22-4b09f069",
      "title": "Next.js middleware authorization bypass via x-middleware-subrequest (CVE-2025-29927): Vercel publishes a postmortem on the bypass and its disclosure handling",
      "content_text": "Next.js middleware authorization bypass via x-middleware-subrequest (CVE-2025-29927): Vercel publishes a postmortem on the bypass and its disclosure handling\n\nSource: https://vercel.com/blog/postmortem-on-next-js-middleware-bypass",
      "date_published": "2025-03-22T00:00:00.000Z",
      "external_url": "https://vercel.com/blog/postmortem-on-next-js-middleware-bypass",
      "tags": [
        "critical"
      ]
    },
    {
      "id": "https://pwn.watch/i/nextjs-middleware-auth-bypass-cve-2025-29927#2025-03-21-fce69380",
      "url": "https://pwn.watch/i/nextjs-middleware-auth-bypass-cve-2025-29927#2025-03-21-fce69380",
      "title": "Next.js middleware authorization bypass via x-middleware-subrequest (CVE-2025-29927): Next.js publishes advisory GHSA-f82v-jwr5-mffw",
      "content_text": "Next.js middleware authorization bypass via x-middleware-subrequest (CVE-2025-29927): Next.js publishes advisory GHSA-f82v-jwr5-mffw\n\nSource: https://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw",
      "date_published": "2025-03-21T00:00:00.000Z",
      "external_url": "https://github.com/vercel/next.js/security/advisories/GHSA-f82v-jwr5-mffw",
      "tags": [
        "critical"
      ]
    }
  ]
}
