The AuthKit library for Next.js provides helpers for authentication and session management using WorkOS & AuthKit with Next.js. A user can reuse an expired session by controlling the `x-workos-session` header. The vulnerability is patched in v0.4.2.
https://github.com/workos/authkit-nextjs/security/advisories/GHSA-35w3-6qhc-474v
https://github.com/workos/authkit-nextjs/releases/tag/v0.4.2
https://github.com/workos/authkit-nextjs/commit/6c3f4f3179d66cbb15de3962792083ff3b244a01