CVE-2026-87911: Vulnerability in Amazon awslabs postgres-mcp-server

Critical. 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...

CWE-78, CWE-184

Exploitation
None confirmed
Severity
9.6 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness
CWE-78, CWE-184
Published
9 Sept 2026
Last change
10 Sept 2026

Affected products

Affected versions and the first fixed release

  • Amazon awslabs postgres-mcp-server Before 1.1.7. Fixed in 1.1.7

Advisories

Vendor and security advisories

Related