CVE-2026-87911: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in AWS AWS Labs postgres MCP Server
CVE-2026-87911 is a critical OS command injection vulnerability in the AWS Labs postgres MCP Server before version 1.1.7. It allows an unauthenticated attacker to execute arbitrary operating system commands on the host of a self-managed PostgreSQL server by exploiting the SQL validation component's read-only enforcement via a crafted COPY ... TO PROGRAM statement. The vulnerability affects the default read-only mode when an authenticated user interacts with the MCP server. AWS manages remediation for this cloud-hosted service. Users should upgrade to version 1.1.7 or later to address this issue.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-87911) involves improper neutralization of special elements used in an OS command (CWE-78) within the SQL validation component of the AWS Labs postgres MCP Server. Specifically, before version 1.1.7, an unauthenticated actor can inject OS commands by placing a crafted COPY ... TO PROGRAM SQL statement into content processed during authenticated user interactions in the default read-only mode. This can lead to execution of arbitrary OS commands on the host running the self-managed PostgreSQL server. AWS provides a patch in version 1.1.7 to remediate this issue.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary operating system commands on the host of the self-managed PostgreSQL server, potentially leading to full compromise of confidentiality, integrity, and availability of the system. The CVSS 3.1 base score is 9.6 (critical), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
AWS manages remediation for this cloud-hosted service. Users should upgrade to AWS Labs postgres MCP Server version 1.1.7 or later to remediate this vulnerability. Refer to the official AWS security bulletin at https://aws.amazon.com/security/security-bulletins/2026-104-aws/ for detailed guidance and confirmation of patch availability.
CVE-2026-87911: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in AWS AWS Labs postgres MCP Server
Description
CVE-2026-87911 is a critical OS command injection vulnerability in the AWS Labs postgres MCP Server before version 1.1.7. It allows an unauthenticated attacker to execute arbitrary operating system commands on the host of a self-managed PostgreSQL server by exploiting the SQL validation component's read-only enforcement via a crafted COPY ... TO PROGRAM statement. The vulnerability affects the default read-only mode when an authenticated user interacts with the MCP server. AWS manages remediation for this cloud-hosted service. Users should upgrade to version 1.1.7 or later to address this issue.
CVSS v3.1
Score 9.6critical
Affected software
pkg:pypi/awslabs-postgres-mcp-serverRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-87911) involves improper neutralization of special elements used in an OS command (CWE-78) within the SQL validation component of the AWS Labs postgres MCP Server. Specifically, before version 1.1.7, an unauthenticated actor can inject OS commands by placing a crafted COPY ... TO PROGRAM SQL statement into content processed during authenticated user interactions in the default read-only mode. This can lead to execution of arbitrary OS commands on the host running the self-managed PostgreSQL server. AWS provides a patch in version 1.1.7 to remediate this issue.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary operating system commands on the host of the self-managed PostgreSQL server, potentially leading to full compromise of confidentiality, integrity, and availability of the system. The CVSS 3.1 base score is 9.6 (critical), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
AWS manages remediation for this cloud-hosted service. Users should upgrade to AWS Labs postgres MCP Server version 1.1.7 or later to remediate this vulnerability. Refer to the official AWS security bulletin at https://aws.amazon.com/security/security-bulletins/2026-104-aws/ for detailed guidance and confirmation of patch availability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- AMZN
- Date Reserved
- 2026-09-09T15:23:09.508Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
- Vendor Advisory Urls
- [{"url":"https://aws.amazon.com/security/security-bulletins/2026-104-aws/","vendor":"AWS"}]
Threat ID: 6aa1ba00acd9273b49c9777b
Added to database: 09/09/2026, 19:56:48 UTC
Last enriched: 09/09/2026, 20:07:06 UTC
Last updated: 09/10/2026, 01:37:35 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.