{"id":"CVE-2026-71316","aliases":["CVE-2026-71316","GHSA-wm8w-6qjm-cv43"],"related":[],"kind":"vulnerability","state":"published","title":"Nuxt runtime payload cache discloses another user's SSR data across users and to unauthenticated clients","summary":"Nuxt is an open-source web development framework for Vue.js. From 4.4.0 until 4.5.1, runtime cache:nuxt:payload entries for /<page>/_payload.json can be returned before route middleware and page guards because import.meta.prerender is not enforced, disclosing another user's SSR data. This issue is fixed in 4.5.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Nuxt is an open-source web development framework for Vue.js. From 4.4.0 until 4.5.1, runtime cache:nuxt:payload entries for /<page>/_payload.json can be returned before route middleware and page guards because import.meta.prerender is not enforced, disclosing another user's SSR data. This issue is fixed in 4.5.1.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nWhen a page is covered by `routeRules` `cache` / `swr` / `isr`, Nuxt enables runtime payload extraction and serves `/<page>/_payload.json`. On affected versions the renderer stored the SSR payload in the shared `cache:nuxt:payload` storage under a path-only key (no cookie, `authorization`, or `cache.varies` dimension) and, on a later payload request, returned the cached entry before route middleware / page guards ran again.\n\nAs a result, once any authenticated user warms a protected, cached page, a subsequent `GET /<page>/_payload.json` from an unauthenticated client or a different authenticated user receives the first user's payload: the full SSR data for that route, including anything loaded via `useFetch` / `useAsyncData` (for example `/api/me`: profile, tenant, billing, token-like values). The HTML response stays correctly varied and protected; only the extracted payload leaks. Both cross-user (A warms, B receives A) and unauthenticated disclosure are exploitable. `cache.varies` does not mitigate it, because the payload cache ignores `varies`.\n\nIntroduced when runtime payload extraction landed for cached routes (#34410); the regression is specific to the 4.x line, where the runtime `cache:nuxt:payload` storage was added and the `import.meta.prerender` gate on the payload-cache read/writes was dropped. The 3.x line shipped the same feature with the gate intact and is not affected.\n\n### Patches\n\nFixed in `nuxt@4.5.1`. Runtime payload-cache reads and writes are again confined to prerendering (`import.meta.prerender`); at runtime, `/<page>/_payload.json` follows the normal render path so route middleware, `routeRules.appMiddleware`, and page guards run for the current request. `main` / v5 and the `3.x` line already had this property, so 3.x is not affected.\n\n### Workarounds\n\n- Set `experimental.payloadExtraction: false` (reporter-validated): the standalone `/_payload.json` endpoint returns 404 and the page still serves a 200 with an inline payload.\n- Do not apply `cache` / `swr` / `isr` to authenticated pages that render user-specific SSR data.\n- As defense-in-depth, require authentication for `/**/_payload.json` at a proxy / CDN.\n- After upgrading, purge any CDN / platform cache that may already hold protected payloads.","format":"markdown","source":"ghsa"}],"published":"2026-08-05T21:14:31.458Z","modified":"2026-09-08T20:51:43.490Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-524","CWE-862"],"affected":[{"ranges":[{"version":">= 4.4.0, < 4.5.1","status":"affected"}],"vendor":"nuxt","product":"nuxt","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.4.0","status":"affected","fixed":"4.5.1"}],"ecosystem":"npm","package":"nuxt","purl":"pkg:npm/nuxt","source":"ghsa"}],"references":[{"url":"https://github.com/nuxt/nuxt/security/advisories/GHSA-wm8w-6qjm-cv43","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nuxt/nuxt/commit/ac9b41a36b62296a117862254ee7d2b21a2a5203","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nuxt/nuxt/releases/tag/v4.5.1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nuxt/nuxt","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-06T18:39:23.365Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-71316","url":"https://www.cve.org/CVERecord?id=CVE-2026-71316","licence":"CVE Terms of Use","modified":"2026-08-06T18:44:45.748Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wm8w-6qjm-cv43","url":"https://github.com/advisories/GHSA-wm8w-6qjm-cv43","licence":"CC-BY-4.0","modified":"2026-08-05T21:41:00.744Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-71316","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71316","licence":"Public domain","modified":"2026-09-08T20:51:43.490Z"}],"updatedAt":"2026-11-25T22:59:31.193Z","epss":{"score":0.00297,"percentile":0.24091,"date":"2026-12-01T12:00:22.000Z"}}