Authentication bypass in Upstash Redis adapter for Next-Auth.js

Published: 2022-09-29
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-39263
Exploitation vector Network
Public exploit N/A
Vulnerable software
Upstash Redis adapter
Web applications / JS libraries

Vendor NextAuth.js

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Improper Authentication

EUVDB-ID: #VU67752

Risk: High


CVE-ID: CVE-2022-39263

CWE-ID: CWE-287 - Improper Authentication

Exploit availability: No


The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to Upstash Redis adapter does not properly authenticate user sessions. After the initial successful authentication performed with a valid user identifier (email) and a token, all other subsequent requests are authenticated only by using the user identifier. A remote attacker with knowledge of an existing email address can bypass authentication process and gain unauthorized access to the application.


Install updates from vendor's website.

Vulnerable software versions

Upstash Redis adapter: 2.0.0 - 3.0.1

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?