Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-14881: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in MongoDB MongoDB Compass

0
High
VulnerabilityCVE-2026-14881cvecve-2026-14881cwe-78
Published: 07/22/2026 (07/22/2026, 19:23:17 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB
Product: MongoDB Compass

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.

CVSS v4.0

Score 8.4high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
mongodb-js/compass
pkg:github/mongodb-js/compass
Affected versions
=1.38.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 20:22:12 UTC

Technical Analysis

The vulnerability CVE-2026-14881 in MongoDB Compass 1.38.0 allows an attacker to inject OS commands by overriding connection options during the import of connections. The flaw specifically enables setting a custom browser open command for the OIDC authentication flow, bypassing intended restrictions. This improper neutralization of special elements used in OS commands (CWE-78) can be exploited to execute arbitrary OS commands with the privileges of the Compass application user. The CVSS 4.0 base score is 8.4, indicating high severity. There is no official remediation or patch available as of the published date, and no known exploits in the wild have been reported.

Potential Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary OS commands on the system running MongoDB Compass 1.38.0. This can lead to compromise of the local system environment, data exposure, or further attacks depending on the privileges of the Compass application user. The vulnerability affects local attack vectors with low complexity and requires no privileges but does require user interaction. The impact on confidentiality, integrity, and availability is high.

Mitigation Recommendations

No official patch or remediation is currently available for this vulnerability. Users should avoid importing untrusted connection configurations in MongoDB Compass version 1.38.0. Monitor the vendor's advisory channels for updates or official fixes. Until a fix is released, restrict usage of Compass to trusted environments and consider alternative methods for connection management that do not involve importing potentially malicious configurations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mongodb
Date Reserved
2026-07-06T16:26:01.113Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a6123219c2644c7f89b2d38

Added to database: 07/22/2026, 20:08:01 UTC

Last enriched: 07/22/2026, 20:22:12 UTC

Last updated: 07/23/2026, 01:43:10 UTC

Views: 12

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses