A vulnerability, which was classified as critical, has been found in MongoDB up to 7.0.39/8.0.28/8.3.7. This affects an unknown part of the component Aggregation Pipeline. The manipulation leads to out-of-bounds read.

This vulnerability is referenced as CVE-2026-18688. Remote exploitation of the attack is possible. No exploit is available.

It is advisable to upgrade the affected component.