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

Thu, 23 Apr 2026 18:45:00 +0000

Type Values Removed Values Added
Description @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.
Title @node-oauth/oauth2-server: PKCE code_verifier ABNF not enforced in token exchange allows brute-force redemption of intercepted authorization codes
Weaknesses CWE-1289
CWE-307
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-04-23T18:33:42.365Z

Reserved: 2026-04-18T02:51:52.975Z

Link: CVE-2026-41213

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-04-23T19:17:29.400

Modified: 2026-04-23T19:17:29.400

Link: CVE-2026-41213

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.