CVE-2026-14881 Command injection in MongoDB Compass
Attackers can execute arbitrary shell commands by overriding the OIDC browser open command during connection import in MongoDB Compass.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-14881?
CVE-2026-14881 is a high-severity command injection vulnerability in MongoDB Compass, published on 22 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-78
Which versions are affected by CVE-2026-14881?
It affects 1 product.
Products include Mongodb Compass.
How do I fix CVE-2026-14881?
No fix has been published for CVE-2026-14881 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-14881 being exploited?
There is no known exploitation of CVE-2026-14881 in the wild and no public exploit code.
Other vulnerabilities in MongoDB Compass
- CVE-2025-1755 MongoDB Compass may be susceptible to local privilege escalation in Windows
- CVE-2024-3371 Insufficient validation of external input in Compass may enable MITM attacks
- CVE-2024-6376 ejson shell parser in MongoDB Compass maybe bypassed
- CVE-2026-9101 Prototype pollution in csv parsing
- CVE-2021-20334 Local privilege escalation in MongoDB Compass for Windows
Sources
Also known as GHSA-6x3f-g6jr-wq84.