What’s Vulnerable › Vulnerabilities
CVE-2019-2386: Authorization session conflation
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-08-06 · updated 2026-06-17
- Weakness: CWE-285
Description
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's session to persist and become conflated with new accounts, if those accounts reuse the names of deleted ones. This issue affects MongoDB Server v4.0 versions prior to 4.0.9; MongoDB Server v3.6 versions prior to 3.6.13 and MongoDB Server v3.4 versions prior to 3.4.22. Workaround: After deleting one or more users, restart any nodes which may have had active user authorization sessions. Refrain from creating user accounts with the same name as previously deleted accounts.
Affected products
- MongoDB: from 3.4.0 before 3.4.22; from 3.6.0 before 3.6.13; from 4.0.0 before 4.0.9 — fixed in 3.4.22, 3.6.13, 4.0.9
How to fix
Upgrade to a fixed version: MongoDB 3.4.22, 3.6.13, 4.0.9. Check the vendor advisory for mitigations.
References
- https://jira.mongodb.org/browse/SERVER-38984
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0829
- https://jira.mongodb.org/browse/SERVER-38984
- https://www.talosintelligence.com/vulnerability_reports/TALOS-2019-0829
Get alerted when CVE-2019-2386 or the next vulnerability affects your stack