# CVE-2026-87911: Read-only enforcement bypass enabling operating system command execution in the SQL validation component of Amazon awslabs postgres-mcp-server

- Priority: **Prioritise**
- Reason: Severe, CVSS 9 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.1.7 (CNA); fix release not confirmed
- Status: published
- Published: 2026-09-09 · Modified: 2026-09-10
- Record: https://cvemate.com/vulnerability/CVE-2026-87911 · JSON: https://cvemate.com/vulnerability/CVE-2026-87911/json

## Description

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

## Signals

- CVSS: 9.6 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS: 0.986%, percentile 63.574%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- aws aws labs postgres mcp server: \< 1.1.7

## References

- <https://pypi.org/project/awslabs.postgres-mcp-server/1.1.7/>
- <https://aws.amazon.com/security/security-bulletins/2026-104-aws/>
- <https://github.com/awslabs/mcp/security/advisories/GHSA-fph8-pg5w-78fv>

---

Data as of 2026-12-05T10:13:14.201Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
