{
  "id": "CVE-2026-87911",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-87911",
  "published_at": "2026-09-09T19:35:46.136Z",
  "title": "Read-only enforcement bypass enabling operating system command execution in the SQL validation component of Amazon awslabs postgres-mcp-server",
  "vendor": "AWS",
  "product": "AWS Labs postgres MCP Server",
  "cvss": {
    "score": 9.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.\n\n\n\nTo remediate this issue, users should upgrade to version 1.1.7 or later.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 9.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "AWS",
        "product": "AWS Labs postgres MCP Server",
        "ranges": [
          "\u003c 1.1.7"
        ],
        "fixed_in": [
          "1.1.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade AWS Labs postgres MCP Server to 1.1.7 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://pypi.org/project/awslabs.postgres-mcp-server/1.1.7/"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://aws.amazon.com/security/security-bulletins/2026-104-aws/"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/awslabs/mcp/security/advisories/GHSA-fph8-pg5w-78fv"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
