2026-05-12 18:37CVE-2026-8431mongodb
PUBLISHED5.2CWE-77

Ops Manager RCE via webhook body

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.

Problem type

Affected products

MongoDB, Inc.

Ops Manager

< 8.0.23 - AFFECTED

References

GitHub Security Advisories

GHSA-6m5j-p732-cfhq

An administrative user with access to configure webhooks can execute arbitrary commands by...

https://github.com/advisories/GHSA-6m5j-p732-cfhq

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.

JSON source

https://cveawg.mitre.org/api/cve/CVE-2026-8431
Click to expand
{
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "cveMetadata": {
    "cveId": "CVE-2026-8431",
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "dateUpdated": "2026-05-12T20:24:26.765Z",
    "dateReserved": "2026-05-12T18:08:49.561Z",
    "datePublished": "2026-05-12T18:37:47.687Z",
    "state": "PUBLISHED"
  },
  "containers": {
    "cna": {
      "providerMetadata": {
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb",
        "dateUpdated": "2026-05-12T18:37:47.687Z"
      },
      "title": "Ops Manager RCE via webhook body",
      "descriptions": [
        {
          "lang": "en",
          "value": "An administrative user with access to configure webhooks can execute arbitrary commands by configuring and then triggering webhooks containing specific FreeMarker template syntax. \n\n\n\nThis issue affects all MongoDB Ops Manager 7.0 versions and MongoDB Ops Manager versions 8.0.22 and prior.",
          "supportingMedia": [
            {
              "type": "text/html",
              "base64": false,
              "value": "<p>An administrative user with access to configure webhooks can execute arbitrary commands by configuring and then triggering webhooks containing specific FreeMarker template syntax.&nbsp;</p><p>This issue affects all MongoDB Ops Manager 7.0 versions and MongoDB Ops Manager versions 8.0.22 and prior.</p>"
            }
          ]
        }
      ],
      "affected": [
        {
          "vendor": "MongoDB, Inc.",
          "product": "Ops Manager",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "7.0",
              "status": "affected",
              "versionType": "custom",
              "lessThan": "8.0.23"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "description": "CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')",
              "cweId": "CWE-77",
              "type": "CWE"
            }
          ]
        }
      ],
      "references": [
        {
          "url": "https://www.mongodb.com/docs/ops-manager/current/release-notes/application/#onprem-server-8.0.23",
          "tags": [
            "release-notes"
          ]
        }
      ],
      "metrics": [
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ],
          "cvssV3_1": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
            "attackVector": "NETWORK",
            "attackComplexity": "LOW",
            "privilegesRequired": "HIGH",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "availabilityImpact": "HIGH",
            "baseScore": 7.2,
            "baseSeverity": "HIGH"
          }
        }
      ]
    },
    "adp": [
      {
        "providerMetadata": {
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP",
          "dateUpdated": "2026-05-12T20:24:26.765Z"
        },
        "title": "CISA ADP Vulnrichment",
        "metrics": [
          {}
        ]
      }
    ]
  }
}