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…

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

CVE-2026-41213 is a medium severity vulnerability in the node-oauth2-server module for Node. js. The issue arises because the token exchange endpoint accepts invalid and weak code_verifier values for S256 PKCE flows, including very short strings. This improper restriction allows an attacker who has intercepted an authorization code to perform brute-force attempts of the code_verifier without consuming the authorization code, potentially enabling token issuance without proper authorization.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/23/2026, 19:06:27 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, such as one-character strings, and does not consume the authorization code on failed verifier attempts. This flaw allows an attacker who intercepts an authorization code to repeatedly guess the code_verifier value online until a valid token is issued, bypassing intended security controls on the OAuth2 token exchange process.

Potential Impact

An attacker who intercepts an OAuth2 authorization code can brute-force the code_verifier parameter due to weak validation and lack of consumption of the authorization code on failed attempts. Successful exploitation results in unauthorized token issuance, leading to potential account compromise or unauthorized access. The vulnerability does not affect integrity or availability but has a high confidentiality impact. No known exploits are reported in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch is currently available and the vulnerability affects versions prior to 5.3.0, users should monitor the vendor's announcements for updates. In the meantime, consider implementing additional rate limiting or monitoring on token exchange endpoints to detect and prevent brute-force attempts.

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: 4/23/2026, 7:06:27 PM

Last updated: 4/23/2026, 9:04:11 PM

Views: 18

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