CVE-2026-41213
Last modified
CVE-2026-41213 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. @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. EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Node-Oauth | Node-Oauth\/Oauth2-Server | < 5.3.0 |
References
- https://github.com/node-oauth/node-oauth2-server/security/advisories/GHSA-jhm7-29pj-4xvfExploit, Mitigation, Vendor Advisory
- https://github.com/node-oauth/node-oauth2-server/security/advisories/GHSA-jhm7-29pj-4xvfExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-41213?
How severe is CVE-2026-41213?
How do I fix CVE-2026-41213?
Are you affected by CVE-2026-41213?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
