{"id":"CVE-2024-29901","published":"2024-03-29T15:23:02Z","modified":"2024-08-02T01:17:58Z","title":"@workos-inc/authkit-nextjs session replay vulnerability","vendor":"workos","product":"authkit-nextjs","tier":"tail","description":{"text":"The AuthKit library for Next.js provides helpers for authentication and session management using WorkOS & AuthKit with Next.js.\nA user can reuse an expired session by controlling the `x-workos-session` header. The vulnerability is patched in v0.4.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00659,"percentile":0.52461,"provenance":"source"},"cwes":[{"id":"CWE-294","name":"Authentication Bypass by Capture-replay"}],"references":[{"url":"https://github.com/workos/authkit-nextjs/security/advisories/GHSA-35w3-6qhc-474v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/workos/authkit-nextjs/commit/6c3f4f3179d66cbb15de3962792083ff3b244a01","tags":["x_refsource_MISC"]},{"url":"https://github.com/workos/authkit-nextjs/releases/tag/v0.4.2","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":10.49},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"workos","affectedVersions":[{"vendor":"workos","product":"authkit-nextjs","versions":["< 0.4.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-08T18:05:37.365811Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@workos-inc/authkit-nextjs","vulnerableRanges":["<0.4.2"],"patched":["0.4.2"],"from":["GHSA-35w3-6qhc-474v"],"provenance":"source"}],"summary":{"text":"The @workos-inc/authkit-nextjs library, which provides authentication and session management helpers for Next.js using WorkOS and AuthKit, contains a flaw that allows a user to reuse an expired session by controlling the x-workos-session header. An attacker with network access and no authentication or user interaction can replay an expired session, with the conditions for exploitation being high attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:17Z"},"euvd":{"id":"EUVD-2024-0799","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-workos-authkit-nextjs-cve-2024-29901","children":[{"from":"CVE-2024-29901","to":"CVE-2024-51752","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/session.ts"],"commits":["https://github.com/workos/authkit-nextjs/commit/6c3f4f3179d66cbb15de3962792083ff3b244a01","https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7"],"basis":"shared function","functions":["updateSession"]}]},{"from":"CVE-2024-29901","to":"CVE-2025-64762","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/session.ts"],"commits":["https://github.com/workos/authkit-nextjs/commit/6c3f4f3179d66cbb15de3962792083ff3b244a01","https://github.com/workos/authkit-nextjs/commit/94cf438124993abb0e7c19dac64c3cb5724a15ea"],"basis":"shared function","functions":["updateSession"]}]}]}}