CVE-2026-41213
MEDIUM 5.9CVSS 3.1@node-oauth/oauth2-server: PKCE code_verifier ABNF not enforced in token exchange allows brute-force redemption of intercepted authorization codes
@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.
- Published
- 23 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1289CWE-307
- Also known as
- GHSA-jhm7-29pj-4xvf
- Sources
- NVDJSONOSV GHSA-jhm7-29pj-4xvfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | node-oauth | node-oauth/oauth2-servercpe:2.3:a:node-oauth:node-oauth\/oauth2-server:*:*:*:*:*:node.js:*:* |
< 5.3.0 | 5.3.0 |
| OSV | npm | @node-oauth/oauth2-server | < 5.3.0 | 5.3.0 |
References
- https://github.com/node-oauth/node-oauth2-server/security/advisories/GHSA-jhm7-29pj-4xvf · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41213 · ADVISORY
- https://github.com/node-oauth/node-oauth2-server · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 23 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Apr 2026)