Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-532.
Summary
The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS & AuthKit with Next.js. In affected versions refresh tokens are logged to the console when the disabled by default `debug` flag, is enabled. This issue has been patched in version 0.13.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| workos | authkit-nextjs | before 0.13.2 | 0.13.2 | Patch available | CNA |
| — | @workos-inc/authkit-nextjs (npm) | before 0.13.2 | 0.13.2 | Patch available | GHSA-5wmg-9cvh-qw25 |
- authkit-nextjs Vendorworkos Affected before 0.13.2 Fixed in 0.13.2 Patch available CNA
- @workos-inc/authkit-nextjs (npm) Vendor— Affected before 0.13.2 Fixed in 0.13.2 Patch available GHSA-5wmg-9cvh-qw25
Remediation
- Fix · CNA authkit-nextjs (workos) Fixed in 0.13.2
- Fix · GHSA-5wmg-9cvh-qw25 @workos-inc/authkit-nextjs (npm) Fixed in 0.13.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-51752
- 2026-10-03 Alias added: GHSA-5wmg-9cvh-qw25
References
Advisory 2
More workos Authkit-nextjs vulnerabilities
- TI-2025-40100 authkit-nextjs may let session cookies be cached in CDNs CVSS 4.0HIGH 8.0
- TI-2024-19668 @workos-inc/authkit-nextjs session replay vulnerability CVSS 3.1HIGH 8.1
Sources
- CVE-2024-51752 · CVE Program
- CVE-2024-51752 · NVD
- FIRST EPSS
- GHSA-5wmg-9cvh-qw25 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences