CVE-2024-29901Workos Authkit-nextjs
High 8.1 No auth needed
Follow: this CVE · Workos · Workos Authkit-nextjs We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 52
- Auth required
- No
- Published
- Mar 29, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-294
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Authkit-nextjs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @workos-inc/authkit-nextjs |
< 0.4.2 |
0.4.2 |
npm install @workos-inc/authkit-nextjs@0.4.2 |
Per OSV / GitHub Advisories (GHSA-35w3-6qhc-474v). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| workos | authkit-nextjs | < 0.4.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory