Skip to main content

MongoDB Compass EUVDEUVD-2026-31127

| CVE-2026-9101 MEDIUM
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-05-20 mongodb GHSA-hwpv-w8h7-v7qm
5.3
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver crafted CSV via email or compromised data channel
  2. Delivery
    Victim initiates CSV import in MongoDB Compass
  3. Exploit
    Prototype pollution triggered in CSV parser via malicious column key
  4. Execution
    Untrusted file path injected into Electron shell.openExternal()
  5. Persist
    OS default handler opens attacker-controlled path
  6. Impact
    Arbitrary local file or protocol handler executed

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attack requires the victim to actively import a specially crafted CSV file using the CSV import feature within MongoDB Compass (CVSS UI:P - passive interaction, meaning a standard workflow action suffices rather than clicking a warning or unusual prompt). The attacker controls only the file path delivered to shell.openExternal(), not any command-line arguments, which limits the execution surface to whatever the OS default handler for that path type will do. The malicious path must reference a resource accessible on the victim's local filesystem or via a registered OS protocol handler for execution to occur. No attacker-side authentication is required (PR:N), but the attack depends entirely on social engineering or supply-chain compromise to deliver the malicious CSV to a user who will import it. The vulnerability does not affect MongoDB server instances or any network-exposed surface - it is isolated to the local Compass desktop application and triggered exclusively through the CSV import workflow.

Impact

The CVSS 4.0 score of 5.3 (Medium) reflects several partially mitigating factors: UI:P (passive user interaction - the victim must perform a standard import action), and impact limited to VI:L (low integrity on the vulnerable system) with no confidentiality or availability impact and no subsequent-system scope. AV:N, AC:L, AT:N, and PR:N confirm the malicious CSV can be delivered remotely with no attacker-side privileges and no special timing or race conditions required. No EPSS score was provided in the available data, preventing quantitative exploitation-probability comparison. The CVE is not listed in CISA KEV and no proof-of-concept has been identified, indicating no confirmed in-the-wild exploitation at time of analysis. The EUVD tags 'Information Disclosure' alongside 'Prototype Pollution,' which partially conflicts with the description's primary focus on command execution via shell.openExternal(); this may reflect tagging of the path-leakage component of the pollution chain, but the description makes clear the primary concern is command execution. Real-world risk is moderate: the attack is not zero-interaction, but CSV imports are a core, routine Compass workflow, lowering the social engineering bar in operational environments.

Exploit ScenarioDerived

An attacker crafts a CSV file with prototype-polluting column headers (e.g., a key of __proto__ mapping to a local script path or a custom OS protocol URI) and delivers it to a Compass user via a plausible channel such as a data export from a compromised system, an email attachment, or a shared analytics file. The victim, performing a routine import in MongoDB Compass, loads the file through the standard CSV import workflow. During parsing, the polluted prototype causes the attacker-supplied file path to reach Electron's shell.openExternal(), instructing the OS to open the path with its default handler - potentially executing a local binary or script. No public proof-of-concept has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 20, 2026

Prototype pollution in MongoDB Compass's CSV import parsing logic creates a '1-click' command execution path across versions 1.36.x through 1.49.5. A crafted CSV file can pollute JavaScript object prototypes during the import workflow, causing untrusted file paths to reach Electron's shell.openExternal() API and be executed by the operating system's default handler. No public exploit code has been identified and this CVE is absent from CISA KEV, but the passive user-interaction requirement - simply importing a CSV as part of routine database work - makes targeted social engineering a credible delivery vector in data-heavy environments.

RemediationAI

No specific patched version has been confirmed in the available data; the vendor tracking reference MongoDB Jira COMPASS-10657 (https://jira.mongodb.org/browse/COMPASS-10657) should be monitored for a confirmed fix release and upgrade instructions. Until a patch is confirmed, the most targeted compensating control is restricting CSV imports in Compass to files sourced exclusively from internally controlled, trusted systems - specifically prohibiting imports of CSV files received via email attachments, external file shares, or user-submitted uploads, as these are the primary social-engineering delivery channels. Organizations deploying Compass in high-risk environments can additionally enforce endpoint policies that limit which applications shell.openExternal() can invoke, reducing the blast radius if the path-injection does occur. Note that fully disabling the CSV import feature would eliminate the attack surface entirely but removes a core Compass capability; this trade-off should be weighed against the threat model. Do not rely on network-layer controls alone - the vulnerability is triggered locally by user interaction with a file, not by a network request to Compass.

Affected VersionsENISA

Compass 1.36.3
Compass 1.39.3
Compass 1.49.3
Compass 1.47.1
Compass 1.45.3
Compass 1.47.0
Compass 1.39.0
Compass 1.43.2
Compass 1.46.10
Compass 1.44.7
Compass 1.38.0
Compass 1.46.4
Compass 1.46.2
Compass 1.46.6
Compass 1.38.2
Compass 1.44.6
Compass 1.40.2
Compass 1.49.0
Compass 1.42.3
Compass 1.43.3
Compass 1.49.1
Compass 1.49.2
Compass 1.40.3
Compass 1.40.4
Compass 1.49.4
Compass 1.49.5
Compass 1.46.0
Compass 1.42.2
Compass 1.41.0
Compass 1.40.1
Compass 1.44.4
Compass 1.44.0
Compass 1.44.5
Compass 1.39.1
Compass 1.42.5
Compass 1.43.0
Compass 1.46.9
Compass 1.43.6
Compass 1.46.1
Compass 1.40.0
Compass 1.48.1
Compass 1.46.11
Compass 1.44.3
Compass 1.46.5
Compass 1.46.7
Compass 1.43.4
Compass 1.48.0
Compass 1.38.1
Compass 1.39.2
Compass 1.42.1
Compass 1.46.3
Compass 1.42.0
Compass 1.43.1
Compass 1.45.2
Compass 1.36.4
Compass 1.43.5
Compass 1.46.8
Compass 1.45.1
Compass 1.48.2
Compass 1.45.0
Compass 1.45.4
Compass 1.39.4
Compass 1.37.0

Affected Packages

euvd compass no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MongoDB Compass is an Electron-based desktop GUI for MongoDB, running Node.js inside a Chromium shell. The root cause is CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes - Prototype Pollution): the CSV parsing logic during the data import workflow fails to sanitize column keys such as __proto__ or constructor.prototype, allowing an attacker-controlled CSV to inject properties onto the global JavaScript Object prototype. Downstream code paths that rely on inherited prototype properties can then reference attacker-supplied values. Specifically, the polluted prototype causes untrusted file paths - but explicitly not command-line arguments, per the description - to flow into Electron's shell.openExternal() function. In Electron, shell.openExternal() delegates execution to the host OS default protocol or file handler, meaning a polluted path could cause the OS to open a local script, binary, or custom-protocol URI. The CPE entry cpe:2.3:a:mongodb,_inc.:compass:*:*:*:*:*:*:*:* covers all versions in the confirmed affected range.

Know when Prototype Pollution gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mongodb) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb) · only source for this CVE.

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 20, 2026 - 17:22 NVD
4.3 (MEDIUM) 5.3 (MEDIUM)

DescriptionCVE.org

Prototype pollution in csv parsing logic during import can lead to untrusted file paths (but not arguments) entering shell.openExternal after specific user behavior leading to "1-click" command execution.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-34621 HIGH POC
8.6 Apr 11

Prototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu

CVE-2021-23450 CRITICAL POC
9.8 Dec 17

All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (

CVE-2024-56059 CRITICAL
9.8 Dec 18

Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau

CVE-2021-23383 CRITICAL POC
9.8 May 04

The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co

CVE-2020-7788 CRITICAL POC
9.8 Dec 11

This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2020-28271 CRITICAL POC
9.8 Nov 12

Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service

CVE-2023-38894 CRITICAL POC
9.8 Aug 16

A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi

CVE-2024-24292 CRITICAL POC
9.8 Mar 28

A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function

CVE-2023-26121 CRITICAL POC
10.0 Apr 11

All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s

CVE-2021-23449 CRITICAL POC
10.0 Oct 18

This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr

CVE-2024-39011 CRITICAL POC
9.8 Jul 30

Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser

CVE-2024-38988 CRITICAL POC
9.8 Mar 28

alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy