CISA list

● npm package

next-auth

Next-auth has 14 security advisories. The newest release any of them names as the fix is 5.0.0-beta.32.

As of , next-auth has 14 security advisories. The newest release any of them names as the fix is 5.0.0-beta.32.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 5.0.0-beta.0 before 5.0.0-beta.325.0.0-beta.325 advisories
Before 4.24.154.24.1513 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-73421GHSA-8fpg-xm3f-6cx3Auth.js: Configuration errors can cause existence-based auth checks to fail open (auth object populated with an error)Critical severityFrom 5.0.0-beta.0 before 5.0.0-beta.325.0.0-beta.32
CVE-2026-73418GHSA-xmf8-cvqr-rfgjAuth.js: getToken() throws an uncaught exception on malformed Bearer authorization headersHigh severityFrom 5.0.0-beta.0 before 5.0.0-beta.32; From 4.0.6 before 4.24.154.24.15, 5.0.0-beta.32
CVE-2026-73420GHSA-7rqj-j65f-68whAuth.js: Email normalizer validates the address before Unicode normalization, allowing a homoglyph @ bypassCritical severityFrom 5.0.0-beta.1 before 5.0.0-beta.32; From 4.10.3 before 4.24.154.24.15, 5.0.0-beta.32
CVE-2026-73419GHSA-x445-f3h2-j279Auth.js: OAuth state, nonce, and PKCE check cookies are not bound to the provider that created themModerate severityFrom 5.0.0-beta.1 before 5.0.0-beta.32; Before 4.24.154.24.15, 5.0.0-beta.32
GHSA-5jpx-9hw9-2fx4NextAuthjs Email misdelivery VulnerabilityModerate severityFrom 5.0.0-beta.0 before 5.0.0-beta.30; Before 4.24.124.24.12, 5.0.0-beta.30
CVE-2023-48309GHSA-v64w-49xw-qq89Possible user mocking that bypasses basic authenticationModerate severityBefore 4.24.54.24.5
CVE-2023-27490GHSA-7r7x-4c4q-c4qfMissing proper state, nonce and PKCE checks for OAuth authenticationHigh severityBefore 4.20.14.20.1
CVE-2022-31186GHSA-p6mm-27gq-9v3pnext-auth before v4.10.2 and v3.29.9 leaks excessive information into logLow severityFrom 4.0.0 before 4.10.2; Before 3.29.93.29.9, 4.10.2
CVE-2022-35924GHSA-xv97-c62v-4587NextAuth.js before 4.10.3 and 3.29.10 sending verification requests (magic link) to unwanted emailsCritical severityFrom 4.0.0 before 4.10.3; Before 3.29.103.29.10, 4.10.3
CVE-2022-31127GHSA-pgjx-7f9g-9463Improper handling of email inputHigh severityFrom 4.0.0 before 4.9.0; Before 3.29.83.29.8, 4.9.0
CVE-2022-31093GHSA-g5fm-jp9v-2432Improper Handling of `callbackUrl` parameter in next-authHigh severityFrom 4.0.0 before 4.5.0; Before 3.29.53.29.5, 4.5.0
CVE-2022-29214GHSA-q2mx-j4x2-2h74URL Redirection to Untrusted Site ('Open Redirect') in next-authModerate severityFrom 4.0.0 before 4.3.3; Before 3.29.33.29.3, 4.3.3
CVE-2022-24858GHSA-f9wg-5f46-cjmwNextAuth.js default redirect callback vulnerable to open redirectsModerate severityFrom 4.0.0 before 4.3.2; Before 3.29.23.29.2, 4.3.2
CVE-2021-21310GHSA-pg53-56cg-4m8qToken verification bug in next-authLow severityBefore 3.3.03.3.0

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0