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

- Severity: Critical 9.0 (CVSS:4.0, scored by AMZN) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.99%, higher than 63% of CVEs (2026-12-01)
- Published: 2026-09-09T19:35:46.136Z
- Modified: 2026-09-10T15:53:23.707Z
- Weaknesses: CWE-78, CWE-184
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: AMZN

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

(As written by CVE List.)

## Affected

- AWS AWS Labs postgres MCP Server: before 1.1.7

## Every score

- AMZN: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- AMZN: CVSS:4.0 9.0 Critical `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`

## References

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

## Sources

- CVE List: [CVE-2026-87911](https://www.cve.org/CVERecord?id=CVE-2026-87911), CVE Terms of Use, modified 2026-09-10
- NVD: [CVE-2026-87911](https://nvd.nist.gov/vuln/detail/CVE-2026-87911), Public domain, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-87911 · Whole record: https://cve.day/CVE-2026-87911.json · Rebuilt by cve.day 2026-11-25T22:59:37.785Z
