MCPNews

The Model Context Protocol ecosystem, verified

Current spec 2026-07-28

Amazon Web Services

AWS's own CNA publishes five CVE records against four awslabs MCP servers in a week, led by a critical, already-fixed command injection

Amazon's CNA (AMZN) published five CVE records between 2026-09-04 and 2026-09-10 against four servers in the awslabs MCP collection. The worst, CVE-2026-87911, is a critical OS command injection in postgres-mcp-server's read-only enforcement, fixed in 1.1.7 on 2026-06-25, eleven weeks before the record. A second postgres-mcp-server record, plus one each against dynamodb-mcp-server, mysql-mcp-server, and security-agent-mcp-server, round out the batch; all four packages had already shipped fixes before their respective CVE records published.

Amazon's own CVE numbering authority published five CVE records between 2026-09-04 and 2026-09-10 against four servers in the awslabs MCP collection. The worst is CVE-2026-87911, an OS command injection in postgres-mcp-server rated critical at CVSS 3.1 9.6 and CVSS 4.0 9.0, both scored by AMZN. The server's read-only enforcement did not block every SQL verb capable of system-level operations, and a crafted COPY ... TO PROGRAM statement, run through a database role holding elevated privileges, let an actor execute operating system commands on the host of a self-managed PostgreSQL server. The fix shipped in 1.1.7, uploaded to PyPI on 2026-06-25, eleven weeks before the record published.

A second postgres-mcp-server record, CVE-2026-85787, covers a related gap in the same SQL validation component: an incomplete list of disallowed inputs that could let an unauthenticated actor modify data beyond the server's read-only scope. AMZN scored it medium under CVSS 3.1 at 6.5 but high under CVSS 4.0 at 7.1, a tier disagreement between the two scoring versions from the same assigner. Both postgres-mcp-server records are closed by the same 1.1.7 release.

The remaining three records each hit a different package. CVE-2026-85654 (high, 7.8) is a code injection in dynamodb-mcp-server's CDK generator: a Jinja2 template renders with autoescape disabled, so table, index, and attribute names from a data model file can inject code into the generated CDK stack; fixed in 2.1.6, uploaded 2026-08-14. CVE-2026-85788 (medium, 5.5) is a read-only bypass in mysql-mcp-server, whose enforcement regex expected literal whitespace between SQL keywords; MySQL treats comment sequences as whitespace too, so inline comments could smuggle mutating statements past the check. It was fixed in 1.0.23, uploaded 2026-07-02. CVE-2026-87913 (medium, 5.9) affects the AWS Security Agent MCP server, which validated its scan-output S3 bucket by existence rather than ownership, so a third party could pre-register the predictable bucket name in their own account and collect a scanned workspace's source archive, credentials and infrastructure state included. It was fixed in 0.2.0, uploaded 2026-08-26.

Every fix in the batch shipped before its own CVE record published. None of the four affected packages are cataloged here as entities; the site's existing yawlabs-postgres-mcp entry is an unrelated community project that does not share code with awslabs.postgres-mcp-server.

Related publishers

How was this verified, and what are the sources?

Published · last verified · confidence 1.00.

  1. CVE-2026-87911 CNA record (AMZN) - "An OS command injection weakness in the read-only enforcement of the SQL validation component in Amazon awslabs.postgres-mcp-server before 1.1.7 might allow an unauthenticated actor to execute operating system commands ... by placing a crafted COPY ... TO PROGRAM statement"; CVSS 3.1 9.6 critical and CVSS 4.0 9.0 critical, both scored by AMZN; published 2026-09-09 - accessed
  2. CVE-2026-85787 CNA record (AMZN) - "An incomplete list of disallowed inputs in the SQL validation component ... might allow an unauthenticated actor to modify data beyond the read-only scope"; CVSS 3.1 6.5 medium but CVSS 4.0 7.1 high, both scored by AMZN for the same finding; published 2026-09-04 - accessed
  3. CVE-2026-85654 CNA record (AMZN) - "Improper neutralization of special elements used in a template engine in the CDK generator in Amazon awslabs.dynamodb-mcp-server before 2.1.6 might allow a context-dependent actor to execute arbitrary code ... via crafted table, index, or attribute names"; CVSS 3.1 7.8 high, CVSS 4.0 7.1 high; published 2026-09-08 - accessed
  4. CVE-2026-85788 CNA record (AMZN) - "Incomplete list of disallowed inputs in the mutable SQL detector component in Amazon awslabs mysql-mcp-server might allow context-dependent actors to bypass the read-only enforcement gate ... via SQL inline comments that the regex engine does not treat as whitespace"; CVSS 3.1 5.5 medium, CVSS 4.0 5.7 medium; published 2026-09-09 - accessed
  5. CVE-2026-87913 CNA record (AMZN) - "A missing S3 bucket ownership verification in the AWS Security Agent MCP server before 0.2.0 version might allow remote attackers to obtain the private source archive of a scanned workspace, including credentials and infrastructure state ... via a pre-registered storage bucket"; CVSS 3.1 5.9 medium, CVSS 4.0 5.1 medium; published 2026-09-10, the latest record in the batch - accessed
  6. PyPI JSON for awslabs.postgres-mcp-server - version 1.1.7, the release both postgres-mcp-server CVEs name as the fix, was uploaded 2026-06-25T05:21:05Z, roughly eleven weeks before CVE-2026-87911 and ten weeks before CVE-2026-85787 were published - accessed
  7. PyPI JSON for awslabs.dynamodb-mcp-server - version 2.1.6 was uploaded 2026-08-14T00:15:59Z, about three and a half weeks before CVE-2026-85654 published - accessed
  8. PyPI JSON for awslabs.security-agent-mcp-server - version 0.2.0 was uploaded 2026-08-26T22:02:56Z, about two weeks before CVE-2026-87913 published; PyPI JSON for awslabs.mysql-mcp-server confirms version 1.0.23 uploaded 2026-07-02T17:35:23Z, about ten weeks before CVE-2026-85788 published - accessed

← All news