CVE-2026-8431: MongoDB Ops Manager command injection via FreeMarker templates in webhooks

CVE-2026-8431 · Severity: high · CVSS 7.2 · Published 2026-05-12

MongoDB Ops Manager, a tool used to manage and monitor MongoDB database deployments, is vulnerable to a security flaw that allows high-privileged users to run unauthorized commands on the server. An administrative user could exploit this by configuring malicious webhooks using specific template syntax. This could lead to a full compromise of the Ops Manager server, potentially impacting the availability and security of the managed database infrastructure.

Technologies: MongoDB Ops Manager. Vendors: MongoDB.

Quick answers

Is CVE-2026-8431 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-8431 being exploited in the wild.
How severe is CVE-2026-8431?
High severity, with a CVSS score of 7.2, published 12 May 2026.
Which products and versions are affected?
MongoDB Ops Manager 7.0, 8.0.22 and prior.
Is there a fix for CVE-2026-8431?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-8431 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-8431?
Check whether you run MongoDB Ops Manager at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A command injection vulnerability (CWE-77) exists in MongoDB Ops Manager due to improper neutralization of special elements within FreeMarker template syntax used in webhook configurations. An attacker with administrative privileges can craft a webhook containing specific FreeMarker directives that, when triggered, execute arbitrary commands on the underlying host. The vulnerability affects all versions of Ops Manager 7.0 and versions 8.0.22 and prior. Remediation is available in version 8.0.23. While the attack requires high privileges (PR:H), it can be executed over the network without user interaction.

Affected products

  • MongoDB Ops Manager 7.0, 8.0.22 and prior

Timeline

  • 2026-05-12: disclosed: Initial publication of CVE-2026-8431
  • 2026-05-12: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.