CVE-2019-2386: mongodb inc mongodb server Improper Authorization
Vulnerability summary
CVE-2019-2386 is a high (CVSS 7.1) Improper Authorization vulnerability in mongodb inc mongodb server. EPSS estimates a 1.14% chance of exploitation in the next 30 days, higher than 66% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 06-08-2019PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.1HighCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.14%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
-0.09 pp
From 1.23% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (talosintelligence.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-285Improper AuthorizationThe product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.
- CWE-613Insufficient Session ExpirationAccording to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."
Affected systems
Mongodb1 product
- mongodb≥ 3.4.0, < 3.4.22 | ≥ 3.6.0, < 3.6.13 | ≥ 4.0.0, < 4.0.9
Mongodb inc1 product
- mongodb server≥ 4.0, < 4.0.9 | ≥ 3.6, < 3.6.13 | ≥ 3.4, < 3.4.22
Ubuntu1 product
- mongodbAll versions (No fix recorded) | < 1:3.6.3-0ubuntu1.3 | < 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2
3 vendors · 3 products
References
5 links- www.talosintelligence.com/vulnerability_reports/TALOS-2019-0829X Refsource MISCREPORTExploitThird Party Advisory