p PatchFirst

CVE-2026-113870

CVE-2026-113870 · Improper Encoding of Server-Supplied JavaScript Values in MongoDB Compass BSON Parsing

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.6 · High · EPSS 0.2% · Public exploit · Fix available

Published
Updated

Affected products and versions

  • compass

    Versions
    • ≥ 1.7.0, < 1.49.15: Affected (semver)

    Update to 1.49.15

Original sources

Check your server →