๐Ÿ” CVE Alert

CVE-2026-41213

MEDIUM 5.9

@node-oauth/oauth2-server: PKCE code_verifier ABNF not enforced in token exchange allows brute-force redemption of intercepted authorization codes

CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th

@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.

CWE CWE-307 CWE-1289
Vendor node-oauth
Product node-oauth2-server
Published Apr 23, 2026
Stay Ahead of the Next One

Get instant alerts for node-oauth node-oauth2-server

Be the first to know when new medium vulnerabilities affecting node-oauth node-oauth2-server are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

node-oauth / node-oauth2-server
< 5.3.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/node-oauth/node-oauth2-server/security/advisories/GHSA-jhm7-29pj-4xvf