CVE-2026-87911

Critical

Description

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 on the host of a self-managed PostgreSQL server by placing a crafted COPY ... TO PROGRAM statement into content that is processed when an authenticated user interacts with the MCP server in its default read-only mode. To remediate this issue, users should upgrade to version 1.1.7 or later.

SeverityCritical
CVSS9.6
Exploit probability—
ProductAWS Labs postgres MCP Server
PublishedSep 9, 2026
First seenSep 9, 2026

How to fix

Update
  • AWS AWS Labs postgres MCP Server1.1.7 or later

Affected products

ProductAffected versionsFixed in
AWS AWS Labs postgres MCP Serverv < 1.1.71.1.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.