CVE-2019-2386
Authorization session conflation
Reported by mongodb · Published August 6, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mongodb | mongodb | 4.0.9, 3.6.13, 3.4.22 |
| MongoDB Server | MongoDB Inc. | 4.0.9, 3.6.13, 3.4.22 |
| mongodb | Ubuntu:20.04:LTS | 1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2 |
| mongodb | Ubuntu:18.04:LTS | 1:3.6.3-0ubuntu1.3 |
| MongoDB Server | MongoDB | 4.0.9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MongoDB Inc. | MongoDB Server | 4.0, 3.6, 3.4 |
| MongoDB Inc. | MongoDB Server | 3.6, 3.4, 4.0 |
Timeline
- Aug 6, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (2 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Sep 11, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-2386
vulnetix vdb fixes CVE-2019-2386
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-2386/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart