BreachSpiderVerified, not vibes

CVE-2021-41246 in Auth0 Express Openid Connect

High 8.8

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS0.9%
EPSS percentile59th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Auth0 Express Openid Connect ≥ 2.3.0, < 2.5.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-41246
BreachSpider IDBS-2021-GLOBAL-072746-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2021-12-09
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-384: CWE-384

Related attack patterns (CAPEC)

CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-384

CAPEC-59 Session Credential Falsification through Prediction via CWE-384

CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-384

CAPEC-61 Session Fixation via CWE-384

CAPEC-39 Manipulating Opaque Client-based Data Tokens via CWE-384

Show all 7

CAPEC-196 Session Credential Falsification through Forging via CWE-384

CAPEC-21 Exploitation of Trusted Identifiers via CWE-384

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Express OpenID Connect versions before and including 2.5.1 are vulnerable to session fixation attacks due to the lack of session ID and session cookie regeneration upon user login.

An attacker can exploit this vulnerability by setting a session cookie for a user before they log in. Once the user logs in, the attacker can use the pre-set session cookie to hijack the user's session.

Questions

What is CVE-2021-41246?

Express OpenID Connect versions before and including 2.5.1 are vulnerable to session fixation attacks due to the lack of session ID and session cookie regeneration upon user login.

What is the CVSS score for CVE-2021-41246?

CVE-2021-41246 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.9%.

Is CVE-2021-41246 actively exploited?

No confirmed active exploitation of CVE-2021-41246 as of 2026-09-25.

How do I remediate CVE-2021-41246?

Priority: HIGH.

What systems are affected by CVE-2021-41246?

CVE-2021-41246 affects Auth0 Express Openid Connect.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Auth0","product":"Express Openid Connect","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.