CVE-2024-51752
LOW 2.1CVSS 4.0@workos-inc/authkit-nextjs refresh tokens are logged when the debug flag is enabled
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.
- Published
- 5 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-532
- Also known as
- GHSA-5wmg-9cvh-qw25
- Sources
- NVDJSONOSV GHSA-5wmg-9cvh-qw25JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | workos | authkit-nextjscpe:2.3:a:workos:authkit-nextjs:*:*:*:*:*:node.js:*:* |
< 0.13.2 | 0.13.2 |
| OSV | npm | @workos-inc/authkit-nextjs | < 0.13.2 | 0.13.2 |
References
- https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7 · Patch, WEB
- https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2 · Release Notes, WEB
- https://github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-51752 · ADVISORY
- https://github.com/workos/authkit-nextjs · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 5 Nov 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 5 Nov 2024)