CVE-2026-87911AWS Labs postgres MCP Server
OS Command Injection in AWS Labs postgres MCP Server
Critical 9.0 No auth needed
Follow: this CVE · AWS · AWS Labs postgres MCP Server We alert you by email or Slack (account required).
- Priority
- 69
- CVSS 4.0
- 9.0
- EPSS
- —
- Auth required
- No
- Published
- Sep 9, 2026
- Updated
- Sep 10, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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
What happens
An OS command injection weakness in the SQL validation component of AWS Labs postgres-mcp-server before version 1.1.7 allows an unauthenticated attacker to execute operating system commands on the PostgreSQL server host. The vulnerability is exploited through a crafted COPY ... TO PROGRAM statement processed when an authenticated user interacts with the MCP server in read-only mode.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 1.1.7
Upgrade AWS Labs postgres-mcp-server to version 1.1.7 or later.
- Apply the vendor's security update for AWS Labs postgres MCP Server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- AWS · AWS Labs postgres MCP Server
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.