CVE-2026-4358
March 17, 2026
A specially crafted aggregation query with $lookup by an authenticated user with write privileges can cause a double-free or use-after-free memory issue in the slot-based execution (SBE) engine when an in-memory hash table is spilled to disk.
Affected Packages
https://github.com/mongodb/mongo.git (GITHUB):
Affected version(s) >=r8.2.0 <r8.2.6Fix Suggestion:
Update to version r8.2.6https://github.com/mongodb/mongo.git (GITHUB):
Affected version(s) >=r8.0.0 <r8.0.20Fix Suggestion:
Update to version r8.0.20https://github.com/mongodb/mongo.git (GITHUB):
Affected version(s) >=r7.0.0 <r7.0.31Fix Suggestion:
Update to version r7.0.31Related ResourcesĀ (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.4
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
HIGH
Weakness Type (CWE)
Double Free
EPSS
Base Score:
0.06