Skip to main content

DocumentDB MCP Server CVE-2026-18954

| EUVDEUVD-2026-53609 MEDIUM
Incorrect Authorization (CWE-863)
2026-08-05 ff89ba41-3aa1-4d27-914a-91399e9639e5 GHSA-w95p-h69m-853r
5.7
CVSS 4.0 · Vendor: ff89ba41-3aa1-4d27-914a-91399e9639e5
Share

Severity by source

Vendor (ff89ba41-3aa1-4d27-914a-91399e9639e5) PRIMARY
5.7 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/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
vuln.today AI
5.5 MEDIUM

Local MCP client access (AV:L) with low privileges (PR:L); only database integrity impacted (I:H), no confidentiality or availability loss.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (ff89ba41-3aa1-4d27-914a-91399e9639e5).

CVSS VectorVendor: ff89ba41-3aa1-4d27-914a-91399e9639e5

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Aug 05, 2026 - 21:03 EUVD
Source Code Evidence Fetched
Aug 05, 2026 - 20:36 vuln.today
Analysis Generated
Aug 05, 2026 - 20:36 vuln.today

DescriptionCVE.org

Incorrect authorization in the aggregation pipeline tool in Amazon AWS Labs DocumentDB MCP Server before 1.0.12 might allow an authenticated MCP client to perform inappropriate write operations on the connected database via write-capable aggregation pipeline stages that bypass the read-only mode enforcement logic.

To remediate this issue, users should upgrade to version 1.0.12 or later.

AnalysisAI

Write operation bypass in the AWS Labs DocumentDB MCP Server before version 1.0.12 allows an authenticated MCP client to execute unauthorized database writes while the server operates in read-only mode. The aggregation pipeline tool failed to block write-capable stages - specifically $out and $merge - enabling low-privilege MCP clients to modify DocumentDB data in direct violation of the configured read-only policy. No public exploit code has been identified and the vulnerability is not listed in CISA KEV; a vendor-confirmed fix is available in release 2026.04.20260408085348.

Technical ContextAI

The AWS Labs DocumentDB MCP Server is a Model Context Protocol (MCP) server that exposes Amazon DocumentDB (MongoDB-compatible) operations to AI agents and MCP-compatible tooling. Its aggregation pipeline tool allows clients to execute MongoDB aggregation queries. The root cause is CWE-863 (Incorrect Authorization): the read-only mode enforcement logic failed to inspect or reject write-capable aggregation stages. The $out stage writes pipeline output directly to a named collection, and $merge merges pipeline results into an existing collection - both produce persistent database side effects. These stages should have been denied when read-only mode was active. The CVSS 4.0 vector (AV:L/AT:P) confirms the attack is local with specific attack prerequisites; the GitHub fix commit 'block $out and $merge stages in read-only mode' from @mehulj94 in PR #2862 provides direct source-level confirmation of the precise failure point.

RemediationAI

Upgrade the DocumentDB MCP Server to version 1.0.12 or later, released as part of monorepo tag 2026.04.20260408085348 at https://github.com/awslabs/mcp/releases/tag/2026.04.20260408085348; the vendor advisory at https://aws.amazon.com/security/security-bulletins/2026-076-aws/ confirms this as the primary fix. As a compensating control prior to patching, operators may restrict or disable MCP client access to the aggregation pipeline tool entirely, which eliminates the attack surface but also blocks legitimate analytics workloads. Alternatively, a network or application-layer filter rejecting aggregation queries containing $out or $merge keywords can reduce exposure, though this is a fragile heuristic and does not substitute for the code-level fix.

More in Amazon

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2024-6387 HIGH POC
8.1 Jul 01

Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to

CVE-2024-28056 CRITICAL POC
9.8 Apr 15

Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM roles associated with Amplify

CVE-2022-25809 CRITICAL POC
9.8 Feb 24

Improper Neutralization of audio output from 3rd and 4th Generation Amazon Echo Dot devices allows arbitrary voice comma

CVE-2021-44833 CRITICAL POC
9.8 Dec 12

The CLI 1.0.0 for Amazon AWS OpenSearch has weak permissions for the configuration file. Rated critical severity (CVSS 9

CVE-2019-3984 CRITICAL POC
9.8 Dec 31

Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due

CVE-2019-3989 CRITICAL POC
9.8 Dec 11

Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due

CVE-2023-35165 HIGH POC
8.8 Jun 23

AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in c

CVE-2022-31115 HIGH POC
8.8 Jun 30

opensearch-ruby is a community-driven, open source fork of elasticsearch-ruby. Rated high severity (CVSS 8.8), this vuln

CVE-2022-0070 HIGH POC
8.8 Apr 19

Incomplete fix for CVE-2021-3100. Rated high severity (CVSS 8.8), this vulnerability is low attack complexity. Public ex

CVE-2021-43638 HIGH POC
8.8 Dec 07

Amazon Amazon WorkSpaces agent is affected by Integer Overflow. Rated high severity (CVSS 8.8), this vulnerability is lo

CVE-2021-43637 HIGH POC
8.8 Dec 07

Amazon WorkSpaces agent is affected by Buffer Overflow. Rated high severity (CVSS 8.8), this vulnerability is low attack

Share

CVE-2026-18954 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy