CVE-2026-14881: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in MongoDB MongoDB Compass
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.
AI Analysis
Technical Summary
The vulnerability CVE-2026-14881 in MongoDB Compass 1.38.0 involves improper neutralization of special elements used in OS commands (CWE-78). When importing connections, an attacker can override connection options that are otherwise immutable through the UI, notably the browser open command used in the OIDC authentication flow. This allows injection of arbitrary OS commands, potentially leading to high impact on confidentiality, integrity, and availability as indicated by the CVSS 8.4 score. No official patch or remediation guidance has been published yet, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary OS commands on the system running MongoDB Compass, potentially compromising system confidentiality, integrity, and availability. The vulnerability affects the local attack vector with low complexity but requires user interaction. The CVSS 4.0 vector indicates high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No official fix or patch is currently available for this vulnerability. Users should monitor MongoDB's official advisories for updates. Until a patch is released, avoid importing untrusted connection configurations in MongoDB Compass 1.38.0, especially those that might override the browser open command for OIDC authentication. Exercise caution with user-supplied connection data.
CVE-2026-14881: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in MongoDB 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
Affected software
pkg:github/mongodb-js/compassRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-14881 in MongoDB Compass 1.38.0 involves improper neutralization of special elements used in OS commands (CWE-78). When importing connections, an attacker can override connection options that are otherwise immutable through the UI, notably the browser open command used in the OIDC authentication flow. This allows injection of arbitrary OS commands, potentially leading to high impact on confidentiality, integrity, and availability as indicated by the CVSS 8.4 score. No official patch or remediation guidance has been published yet, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation could allow an attacker to execute arbitrary OS commands on the system running MongoDB Compass, potentially compromising system confidentiality, integrity, and availability. The vulnerability affects the local attack vector with low complexity but requires user interaction. The CVSS 4.0 vector indicates high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No official fix or patch is currently available for this vulnerability. Users should monitor MongoDB's official advisories for updates. Until a patch is released, avoid importing untrusted connection configurations in MongoDB Compass 1.38.0, especially those that might override the browser open command for OIDC authentication. Exercise caution with user-supplied connection data.
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/30/2026, 03:48:41 UTC
Last updated: 09/05/2026, 22:52:08 UTC
Views: 93
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.