{"id":"CVE-2024-51752","aliases":["EUVD-2024-3200","GHSA-5wmg-9cvh-qw25"],"status":"published","title":"Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs","description":"The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS \u0026 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.","severity":{"version":"4.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","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00246,"percentile":0.15935,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-532"],"published":"2024-11-05T17:34:23Z","modified":"2026-10-28T02:30:53Z","fixes":[{"ecosystem":"npm","package":"@workos-inc/authkit-nextjs","fixed_in":["0.13.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@workos-inc/authkit-nextjs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13.2"}]}]},{"source":"osv","ecosystem":"npm","package":"@workos-inc/authkit-nextjs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.13.2"}]}]}],"products":[{"vendor":"workos","product":"authkit-nextjs"}],"references":[{"url":"https://github.com/workos/authkit-nextjs/security/advisories/GHSA-5wmg-9cvh-qw25","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/workos/authkit-nextjs/commit/15a332632f7560b03cc6d8cc8da24fd2ac931da7","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51752","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5wmg-9cvh-qw25"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51752.json","tags":["advisory"]},{"url":"https://github.com/workos/authkit-nextjs","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-51752","title":"Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs","description":"The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS \u0026 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.","status":"published","published":"2024-11-05T19:16:41.831Z","modified":"2024-11-05T20:15:07.923Z","cvss":[{"version":"4.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","level":"low","assessor":"cna"}],"cwes":["CWE-532"],"updated_at":"2026-11-02T14:34:01.630882Z"}],"euvd":[{"id":"EUVD-2024-3200","description":"The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS \u0026 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.","status":"published","published":"2024-11-05T19:16:41Z","modified":"2024-11-05T20:15:07Z","cvss":[{"version":"4.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","level":"low"}],"updated_at":"2026-11-03T00:05:10.508802Z"}],"ghsa":[{"id":"GHSA-5wmg-9cvh-qw25","title":"@workos-inc/authkit-nextjs refresh tokens are logged when the debug flag is enabled","description":"### Impact\nRefresh tokens are logged to the console when the disabled by default `debug` flag, is enabled.\n\n### Patches\nPatched in [https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2](https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2)\n","status":"published","published":"2024-11-05T17:34:23Z","modified":"2024-11-05T21:37:25Z","cvss":[{"version":"4.0","score":0.4,"vector":"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","level":"low"}],"cwes":["CWE-532"],"updated_at":"2026-11-02T14:38:16.477822Z"}],"nvd":[{"id":"CVE-2024-51752","description":"The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS \u0026 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.","status":"published","published":"2024-11-05T20:15:15.167Z","modified":"2026-06-17T08:06:16.003Z","cvss":[{"version":"4.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/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","level":"low","assessor":"secondary"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-532"],"updated_at":"2026-11-02T14:10:35.864552Z"}],"osv":[{"id":"CVE-2024-51752","title":"Refresh tokens are logged when the debug flag is enabled in @workos-inc/authkit-nextjs","description":"The AuthKit library for Next.js provides convenient helpers for authentication and session management using WorkOS \u0026 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.","status":"published","published":"2024-11-05T19:16:41.831Z","modified":"2026-10-28T02:30:53.211716537Z","cvss":[{"version":"4.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","level":"low"}],"cwes":["CWE-532"],"updated_at":"2026-11-02T15:44:44.032344Z"},{"id":"GHSA-5wmg-9cvh-qw25","title":"@workos-inc/authkit-nextjs refresh tokens are logged when the debug flag is enabled","description":"### Impact\nRefresh tokens are logged to the console when the disabled by default `debug` flag, is enabled.\n\n### Patches\nPatched in [https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2](https://github.com/workos/authkit-nextjs/releases/tag/v0.13.2)\n","status":"published","published":"2024-11-05T17:34:23Z","modified":"2024-11-05T21:37:24Z","cvss":[{"version":"4.0","score":0.4,"vector":"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","level":"low"}],"cwes":["CWE-532"],"updated_at":"2026-11-02T15:46:38.911014Z"}]}}
