---
id: CVE-2026-18704
title: >-
  An issue in MongoDB Server's aggregation framework could allow an
  authenticated user with only read privileges to perform write operations
  against collections they should not be able to modify
summary: >-
  An issue in MongoDB Server's aggregation framework could allow an
  authenticated user with only read privileges to perform write operations
  against collections they should not be able to modify. This is due to an
  internal-use aggregation …
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'
cwe:
  - CWE-862
vendor: mongodb
product: mongodb
affected:
  - 'mongodb >= 8.3.0, < 8.3.8'
patched:
  - mongodb 8.3.8
published: '2026-08-11'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T15:19:11.820'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-18704'
references:
  - url: 'https://jira.mongodb.org/browse/SERVER-129936'
    label: cna@mongodb.com
tags:
  - nvd
epss: 0.00203
epssPercentile: 0.10592
ingestedAt: '2026-08-29T19:41:16.040Z'
---

## Overview

An issue in MongoDB Server's aggregation framework could allow an authenticated user with only read privileges to perform write operations against collections they should not be able to modify. This is due to an internal-use aggregation stage being reachable by external clients without an appropriate authorization check on its embedded operations.

## Affected

- `mongodb >= 8.3.0, < 8.3.8`

## Remediation

Upgrade past the affected range:

- `mongodb 8.3.8`
