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

Goal: 1000 CNY · Raised: 1336 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 awslabs postgres-mcp-server 1.1.7 之前版本中,SQL 验证组件在只读模式下的执行存在操作系统命令注入缺陷。一个未经身份验证的攻击者,可以通过在内容中植入一个精心构造的 语句,当已认证用户以默认只读模式与 MCP 服务器交互时,可在自管 PostgreSQL 服务器的主机上执行操作系统命令。 修复建议: 为修复此问题,用户应升级到 1.1.7 或更高版本。

CVSS 9.6 · Critical EPSS 0.99% · P60

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

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

V. Comments for CVE-2026-87911

No comments yet


Leave a comment