{
  "id": "CVE-2026-8336",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-8336",
  "published_at": "2026-05-13T00:16:16.568Z",
  "title": "Post-authentication use-after-free error in $_internalJsEmit and mapreduce commands",
  "vendor": "MongoDB, Inc.",
  "product": "MongoDB Server",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/AU:N/R:A/V:D/RE:M/U:Red"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "After invoking $_internalJsEmit, which is not intended to be directly accessible, or mapreduce command’s map function in a certain way, an authenticated user can subsequently crash mongod when the server-side JavaScript engine (through $where, $function, mapreduce reduce stage, etc.) is used also in a specific way, resulting in a post-authentication denial-of-service.\n\nThis issue impacts MongoDB Server v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7,
    "nvd": 6.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MongoDB, Inc.",
        "product": "MongoDB Server",
        "ranges": [
          "\u003e= 8.2, \u003c 8.2.9",
          "\u003e= 8.3, \u003c 8.3.2"
        ],
        "fixed_in": [
          "8.2.9",
          "8.3.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade MongoDB Server to 8.2.9 or 8.3.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
