MongoDB Profile Command Authorization Vulnerability Allowing Unauthorized Filter Modifications

Vulnerability

A vulnerability exists in MongoDB's profile command authorization validation, specifically in versions 8.2.4, 8.0.18, and 7.0.29. The issue arises because the validation process incorrectly assesses requests that modify the 'filter' parameter as read-only. This flaw allows users to alter 'filter' values without the necessary permissions, potentially leading to unauthorized data access or manipulation.

Impact

Exploitation of this vulnerability could result in unauthorized modifications to profile command filters, allowing users to access or manipulate data they should not be able to.

Reproduction

To reproduce this vulnerability, send a profile command without specifying values for 'slowms', 'sampleRate', or 'filter'. The command will be processed as a read-only request, bypassing authorization checks for 'filter' modifications. This can be done using a MongoDB client or through a script that interacts with the MongoDB server.

Remediation

Users can upgrade to MongoDB versions 8.3.0-rc0, 8.2.4, 8.0.18, or 7.0.29 to address this vulnerability.

Added: Feb 10, 2026, 9:14 PM
Updated: Feb 11, 2026, 3:02 AM

Vulnerability Rating

Custom Algorithm
spread
6.8
impact
0.6
exploitability
5.2
remediation
7.7
relevance
2.9
threat
1.6
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.