{
  "id": "CVE-2026-4148",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-4148",
  "published_at": "2026-03-17T15:53:57.874Z",
  "title": "ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators",
  "vendor": "MongoDB Inc",
  "product": "MongoDB Server",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "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": "A use-after-free vulnerability can be triggered in sharded clusters by an authenticated user with the read role who issues a specially crafted $lookup or $graphLookup aggregation pipeline.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*",
    "cpe:2.3:a:mongodb:mongodb:8.3.0:alpha0:*:*:-:*:*:*",
    "cpe:2.3:a:mongodb:mongodb:8.3.0:alpha1:*:*:-:*:*:*",
    "cpe:2.3:a:mongodb:mongodb:8.3.0:alpha2:*:*:-:*:*:*",
    "cpe:2.3:a:mongodb:mongodb:8.3.0:alpha3:*:*:-:*:*:*",
    "cpe:2.3:a:mongodb:mongodb:8.3.0:rc1:*:*:-:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MongoDB Inc",
        "product": "MongoDB Server",
        "ranges": [
          "\u003e= 8.2, \u003c 8.2.6",
          "\u003e= 8.0, \u003c 8.0.20",
          "\u003e= 7.0, \u003c 7.0.31"
        ],
        "fixed_in": [
          "8.2.6",
          "8.0.20",
          "7.0.31"
        ]
      }
    ],
    "upgrade": [
      "Upgrade MongoDB Server to 8.2.6 or 8.0.20 or 7.0.31 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
