ZeroHour

CVE-2026-82062

mass

Incorrect Authorization in MongoDB Server applyOps Allows Direct Storage Writes

CVSS 4.0
7.0 high
EPSS
<1%p29
Published
()
Modified
AI analysis

MongoDB Server contains an incorrect-authorization flaw (CWE-863) in the applyOps command, whose authorization check validates only the operation's namespace rather than the actual storage target. An authenticated user with elevated internal privileges can trigger it by passing an internal replication mode value that was not intended to be client-selectable, thereby bypassing a feature gate that is disabled by default in production configurations. Successful exploitation lets the user execute normally disabled container operations and write directly to arbitrary internal storage-engine tables, potentially corrupting internal metadata or other collections' data; CVSS 4.0 scores this 7.0 (High), with high integrity and low availability impact and no confidentiality impact. Any deployment of MongoDB Server in which such privileged authenticated users exist is potentially affected, although affected version ranges were not specified in the available data. No public proof-of-concept, CISA KEV listing, or known in-the-wild exploitation has been reported, and EPSS estimates only a 0.4% probability of exploitation within 30 days.

What to do: Consult MongoDB's CVE-2026-82062 security advisory to identify the affected and patched releases and upgrade accordingly, since exact version ranges are not stated here. In the meantime, restrict applyOps and internal replication-mode options to trusted administrative roles and audit logs for unexpected applyOps invocations. If privileged accounts may have been abused, verify the integrity of internal metadata and collection data, as the flaw allows writes outside the intended namespace.

Affected
MongoDB Server
Estimated exposure
massorder of 1M+ MongoDB Server deployments overall (public internet scans routinely show ~100k+ exposed MongoDB instances) — MongoDB is among the most widely deployed NoSQL databases with millions of instances in use and roughly 100,000+ internet-exposed servers in public scan data, though exploitation additionally requires an authenticated user with elevated…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

A security issue in MongoDB Server allows an authenticated user with elevated internal privileges to bypass a disabled feature gate in the applyOps command by specifying an internal replication mode value that was not intended to be client-selectable. This bypass enables execution of container operations that are disabled by default in production configurations, allowing direct storage-engine writes to arbitrary internal storage tables. The authorization check for these operations validates only the operation's namespace, not the actual storage target, enabling writes to unrelated internal metadata or other collections' data.

Weakness
CWE-863
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.