CVE-2026-113870CWE-116

CVE-2026-113870

High · published October 21, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
14.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
8.6 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00238 · 14.1th percentile
Weakness
CWE-116 · Improper Encoding or Escaping of Output
Published
2026-10-21T23:17Z
References (1)
EPSS history
Timeline
  • 23 OCT 03:55Z
    EPSS moved — → 0%
    epss
  • 21 OCT 18:04Z
    Improper Encoding of Server-Supplied JavaScript Values in MongoDB Compass BSON Parsing
    cvelistv5
  • 21 OCT 18:04Z
    Improper Encoding of Server-Supplied JavaScript Values in MongoDB Compass BSON Parsing
    cvelistv5