Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-27490

8.1 · HIGH
Published Mar 9, 2023 nextauth.js CWE-352 EPSS 0.54% (43th pctl)

Overview

CVE-2023-27490 is a high-severity vulnerability affecting nextauth.js next-auth. It was published on March 9, 2023 and has a CVSS 3.1 base score of 8.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from nextauth.js. Update next-auth to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
nextauth.js next-auth >= 0, < 4.20.1 Affected

Frequently Asked Questions

What is CVE-2023-27490?

CVE-2023-27490 is a high-severity vulnerability affecting nextauth.js next-auth. It was published on March 9, 2023 and has a CVSS 3.1 base score of 8.1 (HIGH).

How severe is CVE-2023-27490?

This vulnerability has a CVSS 3.1 base score of 8.1, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-27490?

Check the references section for vendor advisories and patches from nextauth.js. Update next-auth to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-27490?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-27490 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.