CVE-2026-41213: medium-severity vulnerability in node-oauth2-server
@node-oauth/oauth2-server: PKCE code_verifier ABNF not enforced in token exchange allows brute-force redemption of intercepted authorization codes
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
A Node.js OAuth2 server library fails to properly validate PKCE code_verifier values during token exchange, allowing attackers to brute-force intercepted authorization codes instead of rejecting invalid verifiers immediately.
The library accepts RFC7636-invalid code_verifier values (including single characters) in S256 PKCE flows without proper ABNF enforcement. An attacker who intercepts an authorization code can perform online brute-force attacks since failed verification attempts do not consume the code, enabling token issuance without the legitimate code_challenge.