CVE-2024-51752 json
Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs
published 2024-11-05 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-3200 , GHSA-5wmg-9cvh-qw25
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
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.
Patch / fix
- npm @workos-inc/authkit-nextjs 0.13.2
- workos authkit-nextjs 0.13.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 2.1 | 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 |
| CNA | 4.0 | 2.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @workos-inc/authkit-nextjs | <0.13.2 |
0.13.2 |
Affected products
- workos authkit-nextjs
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
- Technology feeds
References
-
github.com
/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7
web, patch
-
github.com
/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25
web, vendor-advisory
-
github.com
/workos/authkit-nextjs/releases/tag/v0.13.2
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2024-51752
advisory
-
github.com
/workos/authkit-nextjs
package
Sources
- CVE List CVE-2024-51752
- GitHub Advisory GHSA-5wmg-9cvh-qw25
- NVD CVE-2024-51752
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.