Skip to content

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

LowCVSS 2.1 EPSS 0.25%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
workos authkit-nextjs < 0.13.2; = < 0.13.2 0.13.2 Fixed
workos-inc @workos-inc/authkit-nextjs(npm) < 0.13.2 0.13.2 Fixed

Affected products

ProductAffected versionsFixed in
workos-inc @workos-inc/authkit-nextjs(npm) < 0.13.2 0.13.2
workos authkit-nextjs = < 0.13.2 No fix listed
workos authkit-nextjs < 0.13.2 0.13.2

References