CVE-2024-51752
mediumpriority · track · 22EPSS 0.002 · 16 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 0.5–5.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-5wmg-9cvh-qw25@workos-inc/authkit-nextjs refresh tokens are logged when the debug flag is enabled2024-11-05ghsa · osvUS
### Impact Refresh tokens are logged to the console when the disabled by default `debug` flag, is enabled. ### Patches Patched in [https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2](https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7cnnvd
- https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2cnnvd
- https://github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25cnnvd
- https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7enisa_euvd
- https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2enisa_euvd
- https://github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25enisa_euvd
- https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7Patchnvd
- https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2Release Notesnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan