{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "7.0.0"
              },
              {
                "fixed": "7.0.35"
              },
              {
                "introduced": "8.0.0"
              },
              {
                "fixed": "8.0.24"
              },
              {
                "introduced": "8.2.0"
              },
              {
                "fixed": "8.2.10"
              },
              {
                "introduced": "8.3.0"
              },
              {
                "fixed": "8.3.3"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "37d84072b5c5b9fd723db5fa133fb202ad2317f1"
            },
            {
              "fixed": "ef9b301aabaadf6850a065ac7fcd6b327be8c3c2"
            },
            {
              "introduced": "b41cda4fe697dce6fd9b83b3805362ccc02fbeb3"
            },
            {
              "fixed": "d0ad95914a3351a12faf03ba35d41c43bc6feb7e"
            },
            {
              "introduced": "b993867dce63dd366cd93e60f3f425ed716f6497"
            },
            {
              "fixed": "1e3c7c32cb8246028ecc02d1d4b6c6c1f70ba429"
            },
            {
              "introduced": "0f29b043a58fdd251ce0a0b32754b8459613c933"
            },
            {
              "fixed": "065930ba70a49b0347dc5b8f0c04851770a68af2"
            }
          ],
          "repo": "https://github.com/mongodb/mongo",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mongodb",
    "cwe_ids": [
      "CWE-617"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9747.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "8.3.0"
          },
          {
            "fixed": "8.3.3"
          },
          {
            "introduced": "8.2.0"
          },
          {
            "fixed": "8.2.10"
          },
          {
            "introduced": "8.0.0"
          },
          {
            "fixed": "8.0.24"
          },
          {
            "introduced": "7.0.0"
          },
          {
            "fixed": "7.0.35"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Adding fromRouter:true and runtimeConstants.userRoles could cause aggregations to crash mongodb server.",
  "id": "CVE-2026-9747",
  "modified": "2026-07-08T05:37:49.237343534Z",
  "published": "2026-06-09T22:05:24.209Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://jira.mongodb.org/browse/SERVER-123918"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9747.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-9747"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Crafted cross-shard merge aggregation crashes MongoDB Server"
}