{"id":"CVE-2026-41213","published":"2026-04-23T18:33:42Z","modified":"2026-04-25T01:23:58Z","title":"@node-oauth/oauth2-server: PKCE code_verifier ABNF not enforced in token exchange allows brute-force redemption of…","vendor":"node-oauth","product":"node-oauth2-server","tier":"tail","description":{"text":"@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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00361,"percentile":0.22104,"provenance":"source"},"cwes":[{"id":"CWE-307","name":"Improper Restriction of Excessive Authentication Attempts"},{"id":"CWE-1289","name":"Improper Validation of Unsafe Equivalence in Input"}],"references":[{"url":"https://github.com/node-oauth/node-oauth2-server/security/advisories/GHSA-jhm7-29pj-4xvf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":4.42},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"node-oauth","affectedVersions":[{"vendor":"node-oauth","product":"node-oauth2-server","versions":["< 5.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-25T01:23:23.060024Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@node-oauth/oauth2-server","vulnerableRanges":["<5.3.0"],"patched":["5.3.0"],"from":["GHSA-jhm7-29pj-4xvf"],"provenance":"source"}],"summary":{"text":"The @node-oauth/oauth2-server module, used to build OAuth2 servers in Node.js, fails to enforce the RFC 7636 format rules for PKCE code_verifier values during token exchange, accepting invalid values such as single-character strings in S256 flows. An attacker who has intercepted an authorization code can exploit this over the network without authentication or user interaction, though the attack is hard to carry out, by brute-forcing code_verifier guesses until the token is issued, since failed verifier attempts do not invalidate the code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:31Z"},"euvd":{"id":"EUVD-2026-25272","exploited":false,"provenance":"source"}}