CVE-2026-41213
published medium CVSS 3.1 · 5.9@node-oauth/oauth2-server: PKCE code_verifier ABNF not enforced in token exchange allows brute-force redemption of intercepted authorization codes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| node-oauth | — | node-oauth2-server< 5.3.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| node-oauth | node-oauth2-server | < 5.3.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-307 CWE-307: Improper Restriction of Excessive Authentication Attempts
- CWE-1289 CWE-1289: Improper Validation of Unsafe Equivalence in Input
References
1Provider assertions
2GitHub_M · cna
@node-oauth/oauth2-server: PKCE code_verifier ABNF not enforced in token exchange allows brute-force redemption of intercepted authorization codes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b92703d3087ecb0c828894845421227e587f0019589f966ec1abafd2aed0cbc6
- Ingested
- 23 Sep 2026, 09:13:40 UTC
- Source record
- Official CVE record