CVE-2026-41213

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.

Severity
MEDIUM
CVSS v3
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N · source cna
Exploit chance (EPSS)
0.259%
chance of exploitation in the next 30 days
higher than 17.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impactpartial
Scored2026-04-25

Timeline

  1. 2026-04-16GitHub advisory published (GHSA-jhm7-29pj-4xvf)7 days before publication
  2. 2026-04-23Published by the CNA18:33 UTC
  3. 2026-04-25CISA SSVC decision recorded2 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-jhm7-29pj-4xvf, affected packages:

PackageVulnerable versionsFixed in
npm @node-oauth/oauth2-serverbefore 5.3.05.3.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
node-oauth node-oauth/oauth2-serverbefore 5.3.0fixed in 5.3.05.3.0

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources