{"id":"CVE-2026-113870","published":"2026-10-21T18:04:30Z","modified":"2026-10-30T18:23:34Z","title":"Improper Encoding of Server-Supplied JavaScript Values in MongoDB Compass BSON Parsing","vendor":"MongoDB","product":"Compass","tier":"tail","description":{"text":"MongoDB Compass improperly escapes certain BSON values when converting a stored view’s aggregation pipeline into editable source. When a user connects to a MongoDB deployment containing a specially crafted view and opens that view for editing, the values can cause arbitrary code to execute with the privileges of the user running Compass.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00427,"percentile":0.28684,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://www.mongodb.com/docs/compass/release-notes/#mongodb-compass-14915","tags":[]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":5.74},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB","product":"Compass","versions":[">= 1.7.0, < 1.49.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-30T18:22:23.550709Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-107468","exploited":false,"provenance":"source"}}