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

> CVE-2026-87911: Read-only enforcement bypass enabling operating system command execution in the SQL validation component of Amazon awslabs postgres-mcp-server. CVSS 9.6 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-87911
Last updated: 2026-09-10T15:53:23Z

- Published: 2026-09-09 19:35 UTC · Updated: 2026-09-10 15:53 UTC · Assigner: AMZN
- CVSS: 9.6 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS: 1.7%, 78th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-184, CWE-78

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

## Affected vendors and products

- AWS: AWS Labs postgres MCP Server

## Tracked companies

- [Amazon Web Services](https://rewindex.com/company/aws.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-87911)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-87911)
- [https://aws.amazon.com/security/security-bulletins/2026-104-aws/](https://aws.amazon.com/security/security-bulletins/2026-104-aws/)
- [https://github.com/awslabs/mcp/security/advisories/GHSA-fph8-pg5w-78fv](https://github.com/awslabs/mcp/security/advisories/GHSA-fph8-pg5w-78fv)
- [https://pypi.org/project/awslabs.postgres-mcp-server/1.1.7/](https://pypi.org/project/awslabs.postgres-mcp-server/1.1.7/)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-87911 · Markdown: https://rewindex.com/cve/CVE-2026-87911.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-87911 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:13:15.643Z
