CVE-2026-9101

Prototype pollution in csv parsing

Published May 20, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A flaw in the CSV parsing routine of MongoDB Compass allows an attacker to inject malicious properties into the object prototype. When a user imports a specially crafted CSV file, the polluted prototype can cause an untrusted file path to be passed to shell.openExternal, which may execute arbitrary shell commands with the user's privileges after a single click.

Affected Systems

The vulnerability applies to MongoDB, Inc. Compass. No specific affected version information is supplied, so all versions that use the current import logic may be impacted until an update is released.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. Without an EPSS value the exact exploitation likelihood cannot be quantified, and the vulnerability is not listed in CISA KEV, suggesting no known widespread exploitation yet. Inferred attack vectors point to local exploitation via CSV import; an attacker would need to supply a malicious CSV to a user who then opens it, making the risk concentrated in environments where untrusted files are imported. Nonetheless, the potential for command execution warrants prompt mitigation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Verify the latest Compass release and apply any available patch that addresses prototype pollution in CSV import.
  • Restrict CSV import to trusted sources and validate file paths before they are sent to shell.openExternal.
  • Sanitize all input data against prototype modification and enforce strict property checks to prevent unauthorized prototype changes.
  • If a patch is not yet available, disable shell.openExternal for CSV import operations or employ an out-of-context execution sandbox.

Generated by OpenCVE AI on May 20, 2026 at 17:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:mongodb:compass:1.36.3:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.36.4:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.37.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.38.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.38.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.38.2:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.39.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.39.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.39.2:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.39.3:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.39.4:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.40.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.40.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.40.2:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.40.3:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.40.4:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.41.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.42.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.42.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.42.2:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.42.3:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.42.5:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.43.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.43.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.43.2:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.43.3:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.43.4:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.43.5:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.43.6:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.44.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.44.3:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.44.4:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.44.5:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.44.6:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.44.7:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.45.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.45.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.45.2:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.45.3:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.45.4:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.46.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.46.10:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.46.11:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.46.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.46.2:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.46.3:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.46.4:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.46.5:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.46.6:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.46.7:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.46.8:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.46.9:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.47.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.47.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.48.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.48.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.48.2:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.49.0:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.49.1:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.49.2:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.49.3:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.49.4:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:compass:1.49.5:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb compass
Vendors & Products Mongodb
Mongodb compass
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Prototype pollution in csv parsing
Weaknesses CWE-1321
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
May 27, 2026, 1:10 PM
Reserved
May 20, 2026, 4:03 PM
Status
Analyzed
Published
May 20, 2026, 5:16 PM
Modified
Sep 24, 2026, 5:29 PM