PatchSiren cyber security CVE debrief
CVE-2026-113870 MongoDB CVE debrief
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. This improper encoding of server-supplied JavaScript values in BSON parsing can lead to significant security risks if not addressed promptly. Affected users should verify their deployments and consider compensating controls.
- Vendor
- MongoDB
- Product
- Compass
- CVSS
- HIGH 8.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-21
- Original CVE updated
- 2026-10-30
- Advisory published
- 2026-10-21
- Advisory updated
- 2026-10-30
Who should care
Defenders and administrators responsible for MongoDB Compass installations should assess exposure and prioritize verification and remediation. This includes reviewing the vulnerability's impact on their systems, verifying affected versions, and implementing compensating controls where necessary. Security teams and operators should also be aware of the potential risks and take steps to mitigate them.
Why it matters
Defenders should prioritize verifying and upgrading to a fixed version of MongoDB Compass, assessing exposure, and implementing compensating controls due to the risk of arbitrary code execution with user privileges.
- Arbitrary code execution with user privileges
- Potential for lateral movement and privilege escalation
- Need for verification of affected versions and remediation
Technical summary
MongoDB Compass improperly escapes certain BSON values when converting a stored view’s aggregation pipeline into editable source, allowing for arbitrary code execution with the privileges of the user running Compass. This vulnerability is significant because it can lead to arbitrary code execution, potentially allowing attackers to gain control of affected systems. The vulnerability is related to the improper encoding of server-supplied JavaScript values in BSON parsing, which can be exploited by specially crafted views.
Defensive priority
Defenders should prioritize verifying and upgrading to a fixed version of MongoDB Compass, assessing exposure, and implementing compensating controls.
Recommended defensive actions
- Verify and upgrade to a fixed version of MongoDB Compass
- Assess exposure and implement compensating controls
- Monitor for suspicious activity
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item provide details on the vulnerability, but limited information is available on affected versions and remediation. Defenders should verify the vulnerability's impact on their MongoDB Compass installations and assess exposure. Evidence from the CVE Program and NVD suggests that the vulnerability is significant but lacks detailed information on affected versions.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-113870 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-113870
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-113870 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-113870
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Improper Encoding of Server-Supplied JavaScript Values in MongoDB Compass BSON Parsing
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/113xxx/CVE-2026-113870.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://www.mongodb.com/docs/compass/release-notes/
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.