Vulnerability in OAuth2 Implementation by Node.js
CVE-2026-41213

5.9MEDIUM

Key Information:

Vendor

Node-oauth

Vendor
CVE Published:
23 April 2026

What is CVE-2026-41213?

The OAuth2 server module for Node.js is susceptible to a vulnerability where it allows the use of RFC7636-invalid code_verifier values, including single-character strings for the S256 PKCE flow. This lenient validation enables attackers to intercept authorization codes and perform brute-force attacks on code_verifier guesses without exhausting the authorization code. As a result, successful token issuance becomes achievable, highlighting a significant risk to applications using this module.

Affected Version(s)

node-oauth2-server < 5.3.0

References

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.