Session fixation in express-openid-connect
Priority MEDIUM 40CWE-384Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-384.
Summary
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.
Why it matters now
EPSS 0.00924 60th percentileScored 2026-11-07
Fix Fixed express-openid-connect (auth0): 2.5.2express-openid-connect (npm): 2.5.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| auth0 | express-openid-connect | 2.3.0 to before 2.5.2 | 2.5.2 | Patch available | CNA |
| — | express-openid-connect (npm) | 2.3.0 to before 2.5.2 | 2.5.2 | Patch available | GHSA-7rg2-qxmf-hhx9 |
- express-openid-connect Vendorauth0 Affected 2.3.0 to before 2.5.2 Fixed in 2.5.2 Patch available CNA
- express-openid-connect (npm) Vendor— Affected 2.3.0 to before 2.5.2 Fixed in 2.5.2 Patch available GHSA-7rg2-qxmf-hhx9
Remediation
- Fix · CNA express-openid-connect (auth0) Fixed in 2.5.2
- Fix · GHSA-7rg2-qxmf-hhx9 express-openid-connect (npm) Fixed in 2.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-41246
- 2026-10-03 Alias added: GHSA-7rg2-qxmf-hhx9
References
Patch 1
Advisory 3
More auth0 Express Openid Connect vulnerabilities
- TI-2022-08607 Open Redirect in express-openid-connect CVSS 3.1HIGH 7.5
Sources
- CVE-2021-41246 · CVE Program
- CVE-2021-41246 · NVD
- FIRST EPSS
- GHSA-7rg2-qxmf-hhx9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences