CVE-2026-118383Mongodb use-after-free
CVSS score
9.5
Critical
CVSS 4.0 from mongodb.com
Exploit probability (EPSS)
0.88%
0.88% chance of exploitation in the next 30 days, higher than 59.9% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
A use-after-free in the replication component of MongoDB Server can occur when a newly elected replica set primary completes catch-up. The condition can be caused by requests that do not require authentication, and may result in the server terminating unexpectedly or, under certain conditions, arbitrary code execution in the context of the server process. Replica set members are affected, including the shard and config server replica set members of sharded clusters; standalone mongod instances are not.
Source: NVD · CNA: cna@mongodb.com
How to fix it, step by step
Check whether you're affected
Find every system running Mongodb, MongoDB Server and compare its version with the affected versions.
Update to a fixed version
- Update Mongodb to 4.4.32, 5.0.35, 6.0.30, 7.0.48 or later, on the branch you run.
- Update MongoDB Server to 5.0.35, 6.0.30, 7.0.48, 8.0.37 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| MongoDB Mongodb | ≥ 4.4.0, < 4.4.32 · ≥ 5.0.0, < 5.0.35 · ≥ 6.0.0, < 6.0.30 · ≥ 7.0.0, < 7.0.48 · ≥ 8.0.0, < 8.0.37 · ≥ 8.3.0, < 8.3.16 |
| MongoDB MongoDB Server | ≥ 9.0.0, < 9.0.7 · ≥ 8.3.0, < 8.3.16 · ≥ 8.0.0, < 8.0.37 · ≥ 7.0.0, < 7.0.48 · ≥ 6.0.0, < 6.0.30 · ≥ 5.0.0, < 5.0.35 |
Weakness
- CWE-416 use-after-free
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-118383 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.9% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-118383?
CVE-2026-118383 has a CVSS 4.0 base score of 9.5 (critical).
Which versions are affected?
MongoDB Mongodb (≥ 4.4.0, < 4.4.32; ≥ 5.0.0, < 5.0.35; ≥ 6.0.0, < 6.0.30; ≥ 7.0.0, < 7.0.48; ≥ 8.0.0, < 8.0.37; ≥ 8.3.0, < 8.3.16), MongoDB MongoDB Server (≥ 9.0.0, < 9.0.7; ≥ 8.3.0, < 8.3.16; ≥ 8.0.0, < 8.0.37; ≥ 7.0.0, < 7.0.48; ≥ 6.0.0, < 6.0.30; ≥ 5.0.0, < 5.0.35)
Is there a patch for CVE-2026-118383?
The official record links to vendor advisories or patches; see “What to do” above.
References
- jira.mongodb.org/browse/SERVER-138119(Issue Tracking, Patch, Vendor Advisory)
- jira.mongodb.org/browse/SERVER-138175(Issue Tracking, Patch, Vendor Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.