{"id":"CVE-2026-87911","aliases":["CVE-2026-87911"],"related":[],"kind":"vulnerability","state":"published","title":"Read-only enforcement bypass enabling operating system command execution in the SQL validation component of Amazon awslabs postgres-mcp-server","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-09T19:35:46.136Z","modified":"2026-09-10T15:53:23.707Z","severity":{"scorer":"AMZN","scheme":"CVSS:4.0","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","score":9,"rating":"CRITICAL"},"severities":[{"scorer":"AMZN","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},{"scorer":"AMZN","scheme":"CVSS:4.0","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","score":9,"rating":"CRITICAL"}],"cwes":["CWE-78","CWE-184"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"1.1.7","status":"affected"}],"vendor":"AWS","product":"AWS Labs postgres MCP Server","source":"cvelist"}],"references":[{"url":"https://pypi.org/project/awslabs.postgres-mcp-server/1.1.7/","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-104-aws/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/awslabs/mcp/security/advisories/GHSA-fph8-pg5w-78fv","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Corsen AI"],"assigner":"AMZN","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-10T13:53:17.650Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-87911","url":"https://www.cve.org/CVERecord?id=CVE-2026-87911","licence":"CVE Terms of Use","modified":"2026-09-10T13:53:27.245Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-87911","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87911","licence":"Public domain","modified":"2026-09-10T15:53:23.707Z"}],"updatedAt":"2026-11-25T22:59:37.785Z","epss":{"score":0.00986,"percentile":0.63399,"date":"2026-12-01T12:00:22.000Z"}}