CVE-2026-41213

@node-oauth/oauth2-server is a module for implementing an OAuth2 server in Node.js. The token exchange path accepts RFC7636-invalid code_verifier values (including one-character strings) for S256 PKCE flows. Because short/weak verifiers are accepted and failed verifier attempts do not consume the authorization code, an attacker who intercepts an authorization code can brute-force code_verifier guesses online until token issuance succeeds.
Configurations

Configuration 1 (hide)

cpe:2.3:a:node-oauth:node-oauth\/oauth2-server:*:*:*:*:*:node.js:*:*

History

02 Jun 2026, 17:46

Type Values Removed Values Added
References () https://github.com/node-oauth/node-oauth2-server/security/advisories/GHSA-jhm7-29pj-4xvf - () https://github.com/node-oauth/node-oauth2-server/security/advisories/GHSA-jhm7-29pj-4xvf - Exploit, Mitigation, Vendor Advisory
CPE cpe:2.3:a:node-oauth:node-oauth\/oauth2-server:*:*:*:*:*:node.js:*:*
First Time Node-oauth node-oauth\/oauth2-server
Node-oauth

25 Apr 2026, 02:16

Type Values Removed Values Added
References () https://github.com/node-oauth/node-oauth2-server/security/advisories/GHSA-jhm7-29pj-4xvf - () https://github.com/node-oauth/node-oauth2-server/security/advisories/GHSA-jhm7-29pj-4xvf -

23 Apr 2026, 19:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-23 19:17

Updated : 2026-06-17 10:46


NVD link : CVE-2026-41213

Mitre link : CVE-2026-41213

CVE.ORG link : CVE-2026-41213


JSON object : View

Products Affected

node-oauth

  • node-oauth\/oauth2-server
CWE
CWE-307

Improper Restriction of Excessive Authentication Attempts

CWE-1289

Improper Validation of Unsafe Equivalence in Input