CVE-2026-87911AWS Labs Postgres MCP Server OS command injection
CVSS score
9.0
Critical
CVSS 4.0 from ff89ba41-3aa1-4d27-914a-91399e9639e5
Exploit probability (EPSS)
1.74%
1.74% chance of exploitation in the next 30 days, higher than 78.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
To remediate this issue, users should upgrade to version 1.1.7 or later.
Source: NVD · CNA: ff89ba41-3aa1-4d27-914a-91399e9639e5
How to fix it, step by step
Check whether you're affected
Find every system running AWS Labs Postgres MCP Server and compare its version with the affected versions.
Update to a fixed version
- Update AWS Labs Postgres MCP Server to 1.1.7 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| AWS AWS Labs Postgres MCP Server | < 1.1.7 |
Frequently asked questions
Is CVE-2026-87911 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 1.7% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-87911?
CVE-2026-87911 has a CVSS 4.0 base score of 9.0 (critical).
Which versions are affected?
AWS AWS Labs Postgres MCP Server (< 1.1.7)
Is there a patch for CVE-2026-87911?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.