Live threats

All CVEs / Node-oauth

CVE-2026-41213Node-oauth/oauth2-server

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
—
Auth required
No
Published
Apr 23, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-307, CWE-1289
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

@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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Node-oauth/oauth2-server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @node-oauth/oauth2-server < 5.3.0 5.3.0 npm install @node-oauth/oauth2-server@5.3.0

Per OSV / GitHub Advisories (GHSA-jhm7-29pj-4xvf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
node-oauthnode-oauth/oauth2-server< 5.3.0

Official sources

References

Links published by the sources. Open them with care.