Home

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.

PUBLISHED Reserved 2026-04-18 | Published 2026-04-23 | Updated 2026-04-25 | Assigner GitHub_M




MEDIUM: 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-307: Improper Restriction of Excessive Authentication Attempts

CWE-1289: Improper Validation of Unsafe Equivalence in Input

Product status

< 5.3.0
affected

References

github.com/...server/security/advisories/GHSA-jhm7-29pj-4xvf exploit

github.com/...server/security/advisories/GHSA-jhm7-29pj-4xvf

cve.org (CVE-2026-41213)

nvd.nist.gov (CVE-2026-41213)

Download JSON