{"id":"CVE-2026-87911","published":"2026-09-09T19:35:46Z","modified":"2026-09-10T13:53:27Z","title":"Read-only enforcement bypass enabling operating system command execution in the SQL validation component of Amazon…","vendor":"AWS","product":"AWS Labs postgres MCP Server","tier":"tail","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.\n\n\n\nTo remediate this issue, users should upgrade to version 1.1.7 or later.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01738,"percentile":0.78267,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-184","name":"Incomplete List of Disallowed Inputs"}],"references":[{"url":"https://pypi.org/project/awslabs.postgres-mcp-server/1.1.7/","tags":["patch"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-104-aws/","tags":["vendor-advisory"]},{"url":"https://github.com/awslabs/mcp/security/advisories/GHSA-fph8-pg5w-78fv","tags":["third-party-advisory"]}],"priority":{"score":22.4,"factors":[{"name":"EPSS percentile","points":15.65},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"aws","affectedVersions":[{"vendor":"AWS","product":"AWS Labs postgres MCP Server","versions":["< 1.1.7"]}],"capec":[{"id":"CAPEC-248","name":"Command Injection"},{"id":"CAPEC-153","name":"Input Data Manipulation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-10T13:53:17.650302Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-75127","exploited":false,"provenance":"source"}}