Description
When importing connections in Compass it is possible to override some connection options that are otherwise can't be changed via connection form. In particular it is possible to provide a custom browser open command for OIDC auth flow that is usually can be set only globally via Compass settings.
Published: 2026-07-22
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in MongoDB Compass allows an attacker to import a connection file that specifies a custom browser open command for the OIDC authentication flow. When the connection is established, this command is executed in the user's shell, giving the attacker arbitrary shell command execution on the machine running Compass. This represents a high‑severity remote code execution flaw, listed with a CVSS score of 8.4.

Affected Systems

MongoDB Compass is affected. No specific version range is listed, but the advisory references the release of v1.49.7, implying that earlier versions – including those prior to this release – are vulnerable.

Risk and Exploitability

With a high CVSS score and an EPSS score of less than 1%, the risk remains significant, particularly in environments where users can import connection files. The vulnerability has not been reported in the CISA KEV catalog. Based on the description, the likely attack vector is that the attacker must provide or gain access to a crafted import file; thus, it is most actionable for local or compromised users. The lack of an exploit reference suggests the vector may not be public yet, but the severity merits prompt action.

Generated by OpenCVE AI on August 4, 2026 at 15:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update MongoDB Compass to version 1.49.7 or later, which includes the fix for the shell command override issue (CWE‑78).
  • Restrict or disable the ability for untrusted users to import connection files within Compass, mitigating the CWE‑78 code injection risk.
  • If an immediate upgrade is not possible, monitor for anomalous shell execution and ensure only trusted connection files are imported, unlinking or sanitizing the browser open command field, addressing the underlying CWE‑78 flaw.

Generated by OpenCVE AI on August 4, 2026 at 15:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 24 Jul 2026 05:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 23 Jul 2026 21:45:00 +0000

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

Wed, 22 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
Description When importing connections in Compass it is possible to override some connection options that are otherwise can't be changed via connection form. In particular it is possible to provide a custom browser open command for OIDC auth flow that is usually can be set only globally via Compass settings.
Title Compass connection import allows to override OIDC browser open command (usually set through settings), allowing for arbitrary shell commands execution when connecting to cluster using OIDC auth flow
Weaknesses CWE-78
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-07-24T03:56:12.395Z

Reserved: 2026-07-06T16:26:01.113Z

Link: CVE-2026-14881

cve-icon Vulnrichment

Updated: 2026-07-23T14:17:33.484Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-22T20:16:48.247

Modified: 2026-07-24T05:16:38.380

Link: CVE-2026-14881

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T15:45:03Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')