Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable admin console with low complexity but requires webhook-config admin rights (PR:H); template execution breaks out to the host OS, so scope changes (S:C) with total C/I/A impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionCVE.org
An administrative user with access to configure webhooks can execute arbitrary commands by configuring and then triggering webhooks containing specific FreeMarker template syntax.
This issue affects all MongoDB Ops Manager 7.0 versions and MongoDB Ops Manager versions 8.0.22 and prior.
AnalysisAI
Command injection in MongoDB Ops Manager (all 7.0 versions and 8.0.22 and prior) lets an administrative user with webhook-configuration rights achieve arbitrary command execution by embedding malicious FreeMarker template syntax in a webhook and then triggering it. The flaw is vendor-reported (MongoDB) with a patch in 8.0.23; there is no public exploit identified at time of analysis and EPSS is very low (0.05%), consistent with SSVC's 'exploitation: none' rating despite the total technical impact.
Technical ContextAI
MongoDB Ops Manager is the on-premises platform for deploying, monitoring, backing up, and managing MongoDB clusters. Its alerting/integration subsystem allows administrators to configure webhooks whose payloads are rendered through the Apache FreeMarker template engine. FreeMarker exposes built-ins (e.g. object/class access and the 'execute' utility) that, when unsanitized user-controlled template directives are evaluated server-side, permit Server-Side Template Injection escalating to OS command execution. This maps to CWE-77 (Improper Neutralization of Special Elements used in a Command), where the root cause is that attacker-influenced template syntax is interpreted rather than treated as inert data. The affected CPE is cpe:2.3:a:mongodb,_inc.:ops_manager, confirming the Ops Manager application (not the MongoDB database server) is the vulnerable component.
RemediationAI
Vendor-released patch: upgrade to MongoDB Ops Manager 8.0.23 or later, which remediates the FreeMarker webhook command injection; 7.0.x users must migrate to a fixed 8.0.x line since all 7.0 versions are affected, per the release notes at https://www.mongodb.com/docs/ops-manager/current/release-notes/application/#onprem-server-8.0.23. Where immediate patching is not possible, apply compensating controls: restrict which accounts hold Ops Manager global/organization administrative and webhook-configuration privileges (removing webhook-config rights from non-essential admins directly removes the attack surface, at the cost of reduced self-service integration), audit existing webhook definitions for unexpected FreeMarker directives such as class/object-access or execute built-ins, and place the Ops Manager management interface behind network segmentation and strong MFA to limit who can reach the admin console. Note these are mitigations only - they reduce exposure but do not close the underlying template-evaluation flaw, so upgrading remains the durable fix.
More in Ops Manager
View allSpecially crafted API calls may allow an authenticated user who holds Organization Owner privilege to obtain an API key
For MongoDB Ops Manager versions prior to and including 4.2.24 with multiple OM application servers, that have SSL turne
Same weakness CWE-77 – Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-29749
GHSA-6m5j-p732-cfhq