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

Published Apr 23, 2026
·
Updated

@node-oauth/oauth2-server is a module for implementing an OAuth2 server in Node.js. The token exchange path accepts RFC7636-invalid codeverifier 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 codeverifier guesses online until token issuance succeeds.

Affected Software

4 affected components
npm/@node-oauth/oauth2-server
node-oauth Node-oauth\/oauth2-server Node.js<5.3.0
IBM Planning Analytics<=2.0
IBM Planning Analytics<=2.1

Event History

Apr 23, 2026
CVE Published
via MITRE·06:33 PM
Data Sourced
via MITRE·06:33 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeaknessAffected Software
Oct 15, 2026
Data Sourced
via IBM·10:53 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-41213?

CVE-2026-41213 is considered a high severity vulnerability due to its impact on the security of authorization code exchanges.

2

How do I fix CVE-2026-41213?

To fix CVE-2026-41213, update the @node-oauth/oauth2-server module to the latest version that enforces PKCE code_verifier validation.

3

What kind of attack does CVE-2026-41213 allow?

CVE-2026-41213 allows attackers to perform brute-force attacks to redeem intercepted authorization codes due to inadequate validation of code_verifier values.

4

Is CVE-2026-41213 a module-specific vulnerability?

Yes, CVE-2026-41213 specifically affects the @node-oauth/oauth2-server module used in Node.js applications.

5

What are the potential consequences of CVE-2026-41213?

The potential consequences of CVE-2026-41213 include unauthorized access to user data and services through compromised token exchanges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203