All vulnerabilities

Servers and applications

CVE-2026-4358

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.

Severity
Medium 6.1
Published
17 Mar 2026
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
7.0.31, 8.0.20, 8.2.6
Sources
NVD

Affected software

SoftwareAffected versions
MongoDBServers and applications · cpe:a:mongodb:mongodb
  • From 7.0.0 before 7.0.31
  • From 8.0.0 before 8.0.20
  • From 8.2.0 before 8.2.6

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-4358
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-4358