npmWorst: Critical14 advisories
next-auth: known vulnerabilities
next-auth has 14 reviewed security advisories in the GitHub Advisory Database — 3 critical, 4 high, 5 moderate, 2 low. The most recent was published 2026-08-12. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the next-auth versions running across your servers, containers and images, and ranks what to patch first.
How to fix next-auth
Upgrade next-auth to a release at or above the fixed version shown for each advisory below. For npm:
npm install next-auth@4.24.15 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (14)
Auth.js: OAuth state, nonce, and PKCE check cookies are not bound to the provider that created them
Moderate 6.8 CWE-345 CWE-346 CWE-940
— Affected: before 4.24.15. Fixed in 4.24.15. Published 2026-08-12. GHSA-x445-f3h2-j279 · CVE-2026-73419
Auth.js: getToken() throws an uncaught exception on malformed Bearer authorization headers
High 7.5 CWE-20
— Affected: from 4.0.6 up to 4.24.15. Fixed in 4.24.15. Published 2026-08-12. GHSA-xmf8-cvqr-rfgj · CVE-2026-73418
Auth.js: Email normalizer validates the address before Unicode normalization, allowing a homoglyph @ bypass
Critical CWE-180
— Affected: from 5.0.0-beta.1 up to 5.0.0-beta.32. Fixed in 5.0.0-beta.32. Published 2026-07-23. GHSA-7rqj-j65f-68wh · CVE-2026-73420
Auth.js: Configuration errors can cause existence-based auth checks to fail open (auth object populated with an error)
Critical CWE-285 CWE-636
— Affected: from 5.0.0-beta.0 up to 5.0.0-beta.32. Fixed in 5.0.0-beta.32. Published 2026-07-23. GHSA-8fpg-xm3f-6cx3 · CVE-2026-73421
NextAuthjs Email misdelivery Vulnerability
Moderate CWE-200
— Affected: from 5.0.0-beta.0 up to 5.0.0-beta.30. Fixed in 5.0.0-beta.30. Published 2025-10-29. GHSA-5jpx-9hw9-2fx4
Possible user mocking that bypasses basic authentication
Moderate 5.3 CWE-285
— Affected: before 4.24.5. Fixed in 4.24.5. Published 2023-11-20. GHSA-v64w-49xw-qq89 · CVE-2023-48309
Missing proper state, nonce and PKCE checks for OAuth authentication
High 8.1 CWE-352
— Affected: before 4.20.1. Fixed in 4.20.1. Published 2023-03-09. GHSA-7r7x-4c4q-c4qf · CVE-2023-27490
NextAuth.js before 4.10.3 and 3.29.10 sending verification requests (magic link) to unwanted emails
Critical 9.1 CWE-20 CWE-863
— Affected: before 3.29.10. Fixed in 3.29.10. Published 2022-08-02. GHSA-xv97-c62v-4587 · CVE-2022-35924
next-auth before v4.10.2 and v3.29.9 leaks excessive information into log
Low 3.3 CWE-532
— Affected: from 4.0.0 up to 4.10.2. Fixed in 4.10.2. Published 2022-08-01. GHSA-p6mm-27gq-9v3p · CVE-2022-31186
Improper handling of email input
High 7.1 CWE-79
— Affected: from 4.0.0 up to 4.9.0. Fixed in 4.9.0. Published 2022-07-06. GHSA-pgjx-7f9g-9463 · CVE-2022-31127
Improper Handling of `callbackUrl` parameter in next-auth
High 7.5 CWE-754
— Affected: from 4.0.0 up to 4.5.0. Fixed in 4.5.0. Published 2022-06-27. GHSA-g5fm-jp9v-2432 · CVE-2022-31093
URL Redirection to Untrusted Site ('Open Redirect') in next-auth
Moderate 6.1 CWE-601
— Affected: from 4.0.0 up to 4.3.3. Fixed in 4.3.3. Published 2022-05-21. GHSA-q2mx-j4x2-2h74 · CVE-2022-29214
NextAuth.js default redirect callback vulnerable to open redirects
Moderate 6.1 CWE-290 CWE-601
— Affected: from 4.0.0 up to 4.3.2. Fixed in 4.3.2. Published 2022-04-19. GHSA-f9wg-5f46-cjmw · CVE-2022-24858
Token verification bug in next-auth
Low CWE-290
— Affected: before 3.3.0. Fixed in 3.3.0. Published 2021-02-11. GHSA-pg53-56cg-4m8q · CVE-2021-21310
Find next-auth across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.