CVE-2024-51752

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

Published Nov 5, 2024 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-3200 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.
Github GHSA Github GHSA GHSA-5wmg-9cvh-qw25 @workos-inc/authkit-nextjs refresh tokens are logged when the debug flag is enabled
History
Type Values Removed Values Added
First Time appeared Workos authkit-nextjs
CPEs cpe:2.3:a:workos:authkit:*:*:*:*:*:node.js:*:* cpe:2.3:a:workos:authkit-nextjs:*:*:*:*:*:node.js:*:*
Vendors & Products Workos authkit
Workos authkit-nextjs
Type Values Removed Values Added
First Time appeared Workos
Workos authkit
CPEs cpe:2.3:a:workos:authkit:*:*:*:*:*:node.js:*:*
Vendors & Products Workos
Workos authkit
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
Metrics epss

{'score': 0.00044}

epss

{'score': 0.00049}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs
Weaknesses CWE-532
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 5, 2024, 8:15 PM
Reserved
Oct 31, 2024, 2:12 PM
Status
Analyzed
Published
Nov 5, 2024, 8:15 PM
Modified
Jun 17, 2026, 8:06 AM