Vulnerabilities

CVE-2026-4358

High 7.5 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2026-03-17
Last modified
2026-06-17
Assigned by
cna@mongodb.com
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 27 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Mongodb Mongodb ≥ 7.0.0, < 7.0.31 Affected
Mongodb Mongodb ≥ 8.0.0, < 8.0.20 Affected
Mongodb Mongodb ≥ 8.2.0, < 8.2.6 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities