{"id":"CVE-2026-4148","aliases":["BIT-mongodb-2026-4148","EUVD-2026-12587","GHSA-5rch-679r-cv33","UBUNTU-CVE-2026-4148"],"status":"published","title":"ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators","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.","severity":{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-08","score":0.00344,"percentile":0.28091,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-416"],"published":"2026-03-17T15:53:57Z","modified":"2026-10-28T11:13:20Z","fixes":[{"ecosystem":"Bitnami","package":"mongodb","fixed_in":["7.0.31","8.0.20","8.2.6","8.3.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"mongodb","ranges":[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"7.0.31"},{"introduced":"8.0.0"},{"fixed":"8.0.20"},{"introduced":"8.2.0"},{"fixed":"8.2.6"},{"introduced":"8.3.0"},{"fixed":"8.3.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"mongodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.4.6-0ubuntu5","1:2.4.6-0ubuntu6","1:2.4.8-1ubuntu1","1:2.4.8-2","1:2.4.9-1","1:2.4.9-1ubuntu1","1:2.4.9-1ubuntu2","1:2.4.9-1ubuntu2+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"mongodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.6.10-0ubuntu1","1:2.6.10-0ubuntu1+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"mongodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.4.7-1","1:3.4.7-1ubuntu1","1:3.4.7-1ubuntu2","1:3.4.7-1ubuntu4","1:3.4.14-3ubuntu1","1:3.4.14-3ubuntu2","1:3.6.3-0ubuntu1","1:3.6.3-0ubuntu1.1","1:3.6.3-0ubuntu1.3","1:3.6.3-0ubuntu1.4","1:3.6.3-0ubuntu1.4+esm1","1:3.6.3-0ubuntu1.4+esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"mongodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu2","1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5","1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.2","1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3","1:3.6.9+really3.6.8+90~g8e540c0b6d-0ubuntu5.3+esm1"]}],"products":[{"vendor":"mongodb","product":"mongodb"},{"vendor":"mongodb inc","product":"mongodb server"},{"vendor":"mongodb, inc.","product":"mongodb server"}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-119319","tags":["Patch","Vendor Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4148","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-5rch-679r-cv33"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/4xxx/CVE-2026-4148.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-4148","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-4148","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-4148","title":"ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators","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.","status":"published","published":"2026-03-17T15:53:57.874Z","modified":"2026-03-18T03:55:44.426Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:19:59.369956Z"}],"euvd":[{"id":"EUVD-2026-12587","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.","status":"published","published":"2026-03-17T15:53:57Z","modified":"2026-03-18T03:55:44Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-11-02T19:25:33.306068Z"}],"ghsa":[{"id":"GHSA-5rch-679r-cv33","title":"A use-after-free vulnerability can be triggered in sharded clusters by an authenticated user with...","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.","status":"published","published":"2026-03-17T18:30:33Z","modified":"2026-03-17T18:30:38Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/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","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T15:06:40.510126Z"}],"nvd":[{"id":"CVE-2026-4148","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.","status":"published","published":"2026-03-17T16:16:23.807Z","modified":"2026-06-17T10:56:03.84Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/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","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T14:12:09.735529Z"}],"osv":[{"id":"CVE-2026-4148","title":"ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators","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.","status":"published","published":"2026-03-17T15:53:57.874Z","modified":"2026-10-28T11:13:20.857945698Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-416"],"updated_at":"2026-11-02T15:45:03.764807Z"},{"id":"UBUNTU-CVE-2026-4148","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.","status":"published","published":"2026-03-17T16:16:00Z","modified":"2026-04-22T16:33:22.072492Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-11-02T16:56:18.393417Z"},{"id":"BIT-mongodb-2026-4148","title":"ExpressionContext use-after-free in classic engine $lookup and $graphLookup aggregation operators","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.","status":"published","published":"2026-05-13T08:10:48.611Z","modified":"2026-09-08T08:45:15.174816197Z","updated_at":"2026-11-02T15:28:33.469426Z"}]}}
