Vulnerabilities/

CVE-2026-87911

CVE

CVE-2026-87911

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.

Severity

Critical

Base CVSS

9.6

Fixed in

1.1.7

Description

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

Critical

9

4.0

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

OSV

Endor Labs

9.6

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Required action

Known ransomware campaign use

References

https://github.com/awslabs/mcp/security/advisories/GHSA-fph8-pg5w-78fv, https://aws.amazon.com/security/security-bulletins/2026-104-aws/, https://pypi.org/project/awslabs.postgres-mcp-server/1.1.7/

Basic information

Base CVSS

9.6

EPSS probability

0.0

EPSS percentile

0.63399

Introduced version

0.0.5,0.0.1

Fix available

1.1.7

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.