CVE-2026-87911
published critical CVSS 4.0 · 9.0Read-only enforcement bypass enabling operating system command execution in the SQL validation component of Amazon awslabs postgres-mcp-server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AWS | — | AWS Labs postgres MCP Server0 to < 1.1.7 · Other versions: unaffected | Affected | Not stated | AMZN |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.0 / 10
- Severity
- critical
- Provider
- AMZN · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.6 | critical | AMZN · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| AWS | AWS Labs postgres MCP Server | 0 to < 1.1.7 (affected · custom)Default: unaffected | AMZN · cna |
Weaknesses
2- CWE-78 CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection')
- CWE-184 CWE-184 Incomplete list of disallowed inputs
References
3Provider assertions
2AMZN · cna
Read-only enforcement bypass enabling operating system command execution in the SQL validation component of Amazon awslabs postgres-mcp-server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6b888e94e292fe7685f1f0ecad33159bad26852cc20557621b89e855a1227e45
- Ingested
- 23 Sep 2026, 09:37:53 UTC
- Source record
- Official CVE record