GHSA-7r7x-4c4q-c4qf · Severity: high · Ecosystem: npm — Missing proper state, nonce and PKCE checks for OAuth authentication
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 authorization URL to **log in as the victim**, bypassing the CSRF protection. This is due to a partial failure during a compromised OAuth session where a session code is erroneously generated. This issue has been addressed in version 4.20.1. Users are advised to upgrade. Users unable to upgrade may using Advanced Initialization, manually check the callback request for state, pkce, and nonce against the provider configuration to prevent this issue. See the linked GHSA for details.
Conclusion & alert: CVE-2023-27490 is rated High Exploit Risk (62/100): CVSS High severity, with low exploitation likelihood (EPSS 0.54%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.24% | 0.54% | +0.30% |
| 2 | 2026-04-07 | 0.42% | 0.24% | -0.18% |
| 3 | 2026-03-11 | — | 0.42% | — |
Full EPSS history (15 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.1 | 3.1 | HIGH |
|
2.8 | 5.2 | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-7r7x-4c4q-c4qf · Severity: high · Ecosystem: npm — Missing proper state, nonce and PKCE checks for OAuth authentication
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| nextauth.js | next-auth | < 4.20.1 | cpe:2.3:a:nextauth.js:next-auth:*:*:*:*:*:node.js:*:* |