Skip to main content
CVE-2026-87911VulnerabilityPublished 09/09/2026

CVE-2026-87911: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in AWS AWS Labs postgres MCP Server

Affects AWS AWS Labs postgres MCP ServerSource CVE Database V5

0

Not known to be exploited · CVSS 9.6 Critical · patch available : patch AWS Labs postgres MCP Server as a priority.

Data as of 10/25/2026, 04:40:14 UTC

CVSS 3.1 base score
9.6Critical
How severe the flaw is on the 0–10 CVSS scale.
Exploitation

Not in CISA KEV, no exploitation reported

EPSS
1.7% chance of exploitation in 30 days – higher than 77% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

What to do

Affected software

ProductAffectedFixed in
AWSAWS Labs postgres MCP ServerAffected
  • <1.1.7
Fixed in
  • 1.1.7
PyPIawslabs-postgres-mcp-serverpkg:pypi/awslabs-postgres-mcp-serverOther threatsAffected
  • <1.1.7
Fixed in
  • 1.1.7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

Weaknesses

References

Community reviews

Loading reviews…