Live threats

All CVEs / Auth0

CVE-2021-41246Auth0 Express Openid Connect

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
0.9%
probability of exploitation in 30 days · percentile 59
Auth required
No
Published
Dec 9, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-384
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

Express OpenID Connect is express JS middleware implementing sign on for Express web apps using OpenID Connect. Versions before and including `2.5.1` do not regenerate the session id and session cookie when user logs in. This behavior opens up the application to various session fixation vulnerabilities. Versions `2.5.2` contains a patch for this issue.

Original NVD text.

What to do

  1. Apply the vendor's security update for Express Openid Connect.
  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 express-openid-connect ≥ 2.3.0 < 2.5.2 2.5.2 npm install express-openid-connect@2.5.2

Per OSV / GitHub Advisories (GHSA-7rg2-qxmf-hhx9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
auth0express_openid_connect≥ 2.3.0 < 2.5.2

Official sources

References

Links published by the sources. Open them with care.