CVE-2023-27490 — NextAuth
NextAuth.js is an open source authentication solution for Next.js applications. `next-auth` applications using OAuth provider versions before `v4.20.1` have been found to be subject to an authentication vulnerability. A bad actor who can read traffic on the victim's network
Published
2023-03-09T20:37:11.407Z
Last modified
2025-02-25T14:59:02.632Z
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
01What is this vulnerability?
NextAuth.js is an open source authentication solution for Next.js applications. `next-auth` applications using OAuth provider versions before `v4.20.1` have been found to be subject to an authentication vulnerability. A bad actor who can read traffic on the victim's network or who is able to social engineer the victim to click a manipulated login link could intercept and tamper with the…
02Affected products
| Vendor | Product | Versions |
|---|
| nextauthjs | next | auth — < 4.20.1 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2023-03-09T20:37:11.407Z
- Last modified: 2025-02-25T14:59:02.632Z
09References
- github.com — https://github.com/nextauthjs/next-auth/security/advisories/GHSA-7r7x-4c4q-c4qf
- authjs.dev — https://authjs.dev/reference/core/providers#checks
- danielfett.de — https://danielfett.de/2020/05/16/pkce-vs-nonce-equivalent-or-not/
- next-auth.js.org — https://next-auth.js.org/configuration/initialization#advanced-initialization
- next-auth.js.org — https://next-auth.js.org/configuration/providers/oauth
- www.rfc-editor.org — https://www.rfc-editor.org/rfc/rfc6749#section-10.12
- security.netapp.com — https://security.netapp.com/advisory/ntap-20230420-0006/
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →