Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-87911— Read-only enforcement bypass enabling operating system command execution in the SQL validation component of Amazon awslabs postgres-mcp-server

Quick assessment

Affected
AWS AWS Labs postgres MCP Server
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Amazon Open source MCP servers for AWS是美国Amazon公司的一款亚马逊云服务连接的模块集合。 Amazon Open source MCP servers for AWS 1.1.7之前版本存在安全漏洞,该漏洞源于SQL验证组件只读强制实施中的OS命令注入缺陷,未经身份验证的攻击者可通过特制的COPY ... TO PROGRAM语句,在自管理PostgreSQL服务器主机上执行操作系统命令。

CVSS 9.6 · Critical EPSS 1.74% · P78

Possible ATT&CK Techniques 1 AI

T1059.004 · Unix Shell

Affected Version Matrix 1

VendorProduct Version RangeStatus
AWS AWS Labs postgres MCP Server < 1.1.7 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-87911

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Read-only enforcement bypass enabling operating system command execution in the SQL validation component of Amazon awslabs postgres-mcp-server
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Amazon Open source MCP servers for AWS 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Amazon Open source MCP servers for AWS是美国Amazon公司的一款亚马逊云服务连接的模块集合。 Amazon Open source MCP servers for AWS 1.1.7之前版本存在安全漏洞,该漏洞源于SQL验证组件只读强制实施中的OS命令注入缺陷,未经身份验证的攻击者可通过特制的COPY ... TO PROGRAM语句,在自管理PostgreSQL服务器主机上执行操作系统命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
AWS AWS Labs postgres MCP Server 0 ~ 1.1.7 -

II. Public POCs for CVE-2026-87911

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-87911

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-87911 (2)

Vendor Pages for CVE-2026-87911 (1)

IV. Related Vulnerabilities