Read the docs
TI-2024-34657 Aliases CVE-2024-51752GHSA-5wmg-9cvh-qw25

Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs

Priority LOW 11CWE-532Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00246 15th percentileScored 2026-11-07
Fix Fixed authkit-nextjs (workos): 0.13.2@workos-inc/authkit-nextjs (npm): 0.13.2

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

VendorProductAffected versionsFixed inStatusSource
workosauthkit-nextjsbefore 0.13.20.13.2Patch availableCNA
—@workos-inc/authkit-nextjs (npm)before 0.13.20.13.2Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:workos:authkit-nextjs:*:*:*:*:*:node.js:*:*before 0.13.2Vulnerableworkos
  • cpe:2.3:a:workos:authkit-nextjs:*:*:*:*:*:node.js:*:* Versions before 0.13.2 Vulnerable ·workos

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

  1. 2026-10-02 Threatist record created from CVE-2024-51752
  2. 2026-10-03 Alias added: GHSA-5wmg-9cvh-qw25

References

  • 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