CVE-2026-120811NVD
Vulnerability Summary
A use-after-free issue exists in the MongoDB server’s classic query engine plan cache. Under certain query conditions, an unowned reference to data from an earlier command can be retained in cached plan statistics. After the originating memory is freed, a subsequent diagnostic command serializing those statistics can read freed heap memory, potentially returning sensitive server process memory contents to the authenticated client. Under certain heap reuse conditions, this may also cause the server to crash.
CVSS v4.0 Base Metrics — Score 6.0 (MEDIUM)
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
CVSS v3.1 Base Metrics — Score 5.9 (MEDIUM)
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityLow
Affected & Patched Versions
- MongoDB MongoDB Server >= 9.0.0 and < 9.0.7
- MongoDB MongoDB Server >= 8.3.0 and < 8.3.16
- MongoDB MongoDB Server >= 8.0.0 and < 8.0.37
- MongoDB MongoDB Server >= 7.0.0 and < 7.0.48
- MongoDB MongoDB Server 9.0.7
- MongoDB MongoDB Server 8.3.16
- MongoDB MongoDB Server 8.0.37
- MongoDB MongoDB Server 7.0.48