{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-87911","id":"CVE-2026-87911","title":"Read-only enforcement bypass enabling operating system command execution in the SQL validation component of Amazon awslabs postgres-mcp-server","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 s","descriptionLong":"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.","published":"2026-09-09T19:35:46.136Z","updated":"2026-09-10T15:53:23.707Z","reserved":"2026-09-09T15:23:09.508Z","status":"Deferred","rejected":false,"assigner":"AMZN","metric":{"version":"4.0","score":9,"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","rating":"critical","source":"AMZN"},"metrics":[{"version":"4.0","score":9,"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","rating":"critical","source":"AMZN"},{"version":"4.0","score":9,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"critical","source":"ff89ba41-3aa1-4d27-914a-91399e9639e5"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"AMZN"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"ff89ba41-3aa1-4d27-914a-91399e9639e5"}],"rating":"critical","products":["AWS Labs postgres MCP Server"],"affectedProducts":[{"vendor":"AWS","product":"AWS Labs postgres MCP Server","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThan":"1.1.7","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-78","CWE-184"],"aliases":[],"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"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01738,"epssPercentile":0.78267,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-87911","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-87911","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-87911","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-87911","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":["postgresql"],"critical":["CVSS 9.0 in a widely used technology"],"attention":null}