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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25 vendor-advisory
- https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7 patch
- https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product