Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 63%

CVE-2026-41213: CWE-307: Improper Restriction of Excessive Authentication Attempts in node-oauth node-oauth2-server

0
Medium
VulnerabilityCVE-2026-41213cvecve-2026-41213cwe-307cwe-1289
Published: Thu Apr 23 2026 (04/23/2026, 18:33:42 UTC)
Source: CVE Database V5
Vendor/Project: node-oauth
Product: node-oauth2-server

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.

CVSS v3.1

Score 5.9medium

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/01/2026, 20:40:08 UTC

Technical Analysis

The node-oauth2-server module improperly restricts excessive authentication attempts in its implementation of the PKCE S256 flow. Specifically, it accepts RFC7636-invalid code_verifier values, including very short strings, and does not consume the authorization code on failed verification attempts. This allows an attacker who has intercepted an authorization code to perform an online brute-force attack against the code_verifier until a valid token is issued. The vulnerability is tracked as CVE-2026-41213 and affects versions before 5.3.0. The CVSS 3.1 base score is 5.9, reflecting a medium severity with network attack vector, high attack complexity, no privileges required, no user interaction, unchanged scope, and high confidentiality impact.

Potential Impact

An attacker who intercepts an OAuth2 authorization code can repeatedly attempt to guess the code_verifier value due to the lack of proper restrictions on authentication attempts and acceptance of invalid code_verifiers. This can lead to unauthorized issuance of access tokens, compromising the confidentiality of protected resources. The vulnerability does not impact integrity or availability directly. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider implementing additional rate limiting or monitoring on the token exchange endpoint to detect and block brute-force attempts. Avoid using affected versions of node-oauth2-server in sensitive environments if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-18T02:51:52.975Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69ea6a1b87115cfb68455bee

Added to database: 4/23/2026, 6:51:07 PM

Last enriched: 5/1/2026, 8:40:08 PM

Last updated: 6/7/2026, 5:21:13 AM

Views: 116

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses