Security readout for executives and security teams
Plain-English summary
A malformed callback URL can break vulnerable NextAuth.js login handling. An unauthenticated remote request may cause the authentication API route to time out, preventing users from signing in. The provided sources describe this as an availability issue, not data theft or account takeover.
Executive priority
Treat as high priority for apps where login availability is business-critical. The expected impact is denial of login, so remediation should focus on customer-facing portals, admin consoles, and operational systems that depend on NextAuth.js authentication.
Technical view
Affected next-auth versions mishandle an invalid callbackUrl query parameter. The value is converted to a URL object; malformed input can throw an unhandled error, causing the API route handler to time out. Fixed in 3.29.5 and 4.5.0. CWE-754, CVSS 7.5.
Likely exposure
Exposure exists in Next.js applications using next-auth versions below 3.29.5, or 4.0.0 through below 4.5.0, with reachable authentication API routes. Public login flows face the clearest business impact because sign-in can fail.
Exploitation context
The CVE is network-reachable, low-complexity, unauthenticated, and requires no user interaction. The source bundle does not show CISA KEV listing or active exploitation evidence, so exploitation in the wild is not confirmed here.
Researcher notes
The vulnerability is CWE-754 improper handling of exceptional conditions. Evidence supports availability impact only: no confidentiality or integrity impact is stated. Fix evidence is tied to the GitHub advisory and linked commits for v3 and v4 branches.
Mitigation direction
- Upgrade next-auth to 3.29.5, 4.5.0, or later supported releases.
- If upgrading is blocked, review the vendor Advanced Initialization workaround.
- Prioritize internet-facing authentication routes and high-traffic customer login flows.
- Monitor authentication route timeouts and unusual callbackUrl-related errors.
Validation and detection
- Check package manifests and lockfiles for affected next-auth versions.
- Identify applications exposing NextAuth API routes publicly or to untrusted users.
- Confirm deployed builds run fixed next-auth versions after remediation.
- Perform controlled negative testing for malformed callbackUrl handling without disrupting production.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-754: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2022-31093 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.5HighVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/nextauthjs/next-auth/security/advisories/GHSA-g5fm-jp9v-2432CVE reference · x_refsource_CONFIRM
- https://github.com/nextauthjs/next-auth/commit/25517b73153332d948114bacdff3b5908de91d85CVE reference · x_refsource_MISC
- https://github.com/nextauthjs/next-auth/commit/e498483b23273d1bfc81be68339607f88d411bd6CVE reference · x_refsource_MISC
- https://next-auth.js.org/configuration/initialization#advanced-initializationCVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Check for Unusual or Exceptional Conditions
Improper Check for Unusual or Exceptional Conditions represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
