CVE-2026-18702

Improper Authorization in MongoDB profile Command Allows Unauthorized Modification of Server-Wide Diagnostic Settings

Published Aug 11, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
An issue in MongoDB Server could allow an authenticated user with limited, database-scoped privileges to modify diagnostic logging settings that affect the entire server rather than just the intended database. This could allow suppression of diagnostic logging server-wide, potentially obscuring unauthorized activity, or degrade operational monitoring by causing excessive log volume.

Analysis

AI-generated

Technical impact

The vulnerability allows an authenticated user whose permissions are limited to a single database to change diagnostic logging settings that apply across the entire MongoDB server. This can suppress logs that would normally reveal malicious activity or flood logs with unnecessary data, degrading operational visibility. The weakness is an improper authorization issue, CWE‑269, that permits a scope bypass. The impact is a loss of audit trail integrity and potential concealment of attacker actions, not a direct data breach or service outage but a significant covert execution allowance.

Affected Systems

MongoDB Server installations are affected. No specific version range is listed, so all current builds that support the profile command and do not contain the patch are vulnerable. Users should verify if their deployment includes the fix, which is not detailed here.

Risk and Exploitability

The CVSS score of 5.3 places this vulnerability in the medium severity range. The EPSS score of less than 1% indicates a very low yet non‑zero probability of exploitation in the wild, and it is not listed in CISA’s KEV catalog. Likely attack vectors require the user to be authenticated and have database‑level access—an attacker with such credentials can issue the profile command to alter global settings. The vulnerability is local in that it does not require remote network access; however, the compromised diagnostics can be leveraged to facilitate larger covert attacks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply any MongoDB patch that addresses the privilege check for the profile command as soon as it becomes available.
  • Review and tighten database‑scoped user privileges to ensure that no user is granted the profile command without full server‑level authority.
  • Implement change‑control and continuous monitoring for modifications to server‑wide logging settings, and alert when unauthorized changes occur.

Generated by OpenCVE AI on August 12, 2026 at 19:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Mongodb mongodb
CPEs cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
cpe:2.3:a:mongodb:mongodb:9.0.0:alpha0:*:*:-:-:*:*
cpe:2.3:a:mongodb:mongodb:9.0.0:alpha1:*:*:-:-:*:*
cpe:2.3:a:mongodb:mongodb:9.1.0:alpha0:*:*:-:-:*:*
Vendors & Products Mongodb mongodb
Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description An issue in MongoDB Server could allow an authenticated user with limited, database-scoped privileges to modify diagnostic logging settings that affect the entire server rather than just the intended database. This could allow suppression of diagnostic logging server-wide, potentially obscuring unauthorized activity, or degrade operational monitoring by causing excessive log volume.
Title Improper Authorization in MongoDB profile Command Allows Unauthorized Modification of Server-Wide Diagnostic Settings
Weaknesses CWE-269
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-269

    Improper Privilege Management

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Aug 11, 2026, 8:22 PM
Reserved
Aug 3, 2026, 3:53 PM
Status
Analyzed
Published
Aug 11, 2026, 7:17 PM
Modified
Oct 23, 2026, 9:10 PM