Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPre-position crafted SQL in MCP data source
-
DeliveryAuthenticated user triggers MCP query
-
ExploitMCP server processes attacker content
-
ExecutionIncomplete denylist fails to block crafted SQL
-
ImpactWrite operation executes on PostgreSQL backend
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
|
| Exploitation Conditions | Exploitation requires two sequential conditions: first, the attacker must be able to pre-position crafted SQL content in a source that the postgres-mcp-server will later read and process (e.g., a database table, a tool-response payload, or any input channel feeding the MCP server); second, an authenticated user must trigger an MCP interaction that causes the server to process that attacker-controlled content. The attacker themselves requires no credentials or privileges against the MCP server - only the ability to write to a data source it consumes. Deployments where all data sources are strictly controlled and isolated from external write access significantly reduce exploitability. The read-only enforcement bypass applies specifically to the SQL validation denylist component in versions prior to 1.1.7. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N) scores 7.1, reflecting network-reachable exploitation with no attacker privileges required but mandatory authenticated-user interaction. Real-world exploitability depends on whether an attacker can pre-position crafted SQL content in sources consumed by the MCP server before a legitimate user triggers a query - a condition that adds meaningful friction relative to a direct injection flaw. No EPSS data was provided and the CVE is not listed in CISA KEV, suggesting no confirmed active exploitation. The integrity-only impact (VI:H, C:N/A:N) means the blast radius is data modification rather than exfiltration or system compromise, which limits but does not eliminate urgency. Risk is elevated for deployments where the MCP server operates over external or untrusted data sources, and reduced in tightly controlled single-tenant environments. The 'Information Disclosure' tag in the input metadata is incorrect given the C:N/VI:H vector - this is an integrity violation, not a confidentiality breach. |
| Exploit ScenarioDerived | An attacker places a crafted SQL statement - one that bypasses the incomplete denylist, such as a DELETE or UPDATE command disguised through comment injection or less-common SQL syntax - into a database column or tool-response payload accessible to the MCP server. When a legitimate authenticated user subsequently issues a natural-language query that causes the MCP server to fetch and process that content, the crafted SQL executes against the PostgreSQL backend, modifying data outside the intended read-only scope. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 04, 2026
Incomplete SQL validation denylist in Amazon awslabs postgres-mcp-server before 1.1.7 allows an unauthenticated attacker to bypass read-only enforcement and perform write operations against a PostgreSQL database by embedding crafted SQL in content processed when an authenticated user interacts with the MCP server. The vulnerability (CWE-184) exploits the incomplete list of disallowed SQL constructs, effectively turning user-triggered MCP interactions into a vector for unauthorized data modification with high integrity impact (VI:H) and no confidentiality or availability effect. No public exploit code has been identified at time of analysis; a vendor-released patch is available at version 1.1.7.
RemediationAI
Upgrade to awslabs.postgres-mcp-server version 1.1.7 or later via pip: 'pip install --upgrade awslabs.postgres-mcp-server'. The patched release is available on PyPI (https://pypi.org/project/awslabs.postgres-mcp-server/1.1.7/) and the vendor advisory is at https://aws.amazon.com/security/security-bulletins/2026-101-aws/. If immediate upgrade is not possible, restrict the MCP server to trusted, internally controlled data sources only and deny it access to external or user-supplied content that could contain injected SQL; note this does not eliminate the vulnerability but reduces attacker pre-positioning opportunities. Additionally, ensure the PostgreSQL user account used by the MCP server is configured with the minimum necessary privileges at the database level (e.g., GRANT SELECT only on specific tables), providing a defense-in-depth layer that can limit the practical impact of a successful bypass.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
postgres-mcp-server is an AWS awslabs Model Context Protocol (MCP) server that exposes PostgreSQL database operations as AI agent tools. The server enforces a read-only security boundary via a SQL validation component that maintains an allowlist/denylist of permitted SQL constructs. CWE-184 (Incomplete List of Disallowed Inputs) describes a flaw where the denylist fails to enumerate all dangerous SQL patterns, enabling bypass of the intended read-only restriction. The affected CPE is cpe:2.3:a:amazon:postgres-mcp-server:*:*:*:*:*:*:*:* for all versions prior to 1.1.7. The MCP architecture means that database-resident content or tool responses can be crafted by an attacker and later processed during legitimate authenticated user sessions, making this an injection-via-content attack path analogous to prompt injection in LLM pipelines.
Know when Amazon gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable, no attacker privileges, but authenticated user must trigger the interaction (UI:R); integrity-only impact with no confidentiality or availability effect.
Primary rating from Vendor (AMZN).
CVSS VectorVendor: AMZN
DescriptionCVE.org
An incomplete list of disallowed inputs in the SQL validation component in Amazon awslabs postgres-mcp-server before version 1.1.7 might allow an unauthenticated actor to modify data beyond the read-only scope by placing crafted SQL into the content that is submitted when an authenticated user interacts with the MCP server.
To remediate this issue, users should upgrade to version 1.1.7 or above.
Articles & Coverage 1
Executive ViewAI
Amazon's postgres-mcp-server (versions before 1.1.7) contains an incomplete SQL validation flaw that enables attackers to bypass read-only protections and execute unauthorized database write operations. Organizations using this tool for PostgreSQL access face direct risk to data integrity, as attackers can modify database records without authentication through crafted SQL injection.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Remote code execution in OpenSSH's sshd server (regression of CVE-2006-5051) allows unauthenticated remote attackers to
Amazon AWS Amplify CLI before 12.10.1 incorrectly configures the role trust policy of IAM roles associated with Amplify
Improper Neutralization of audio output from 3rd and 4th Generation Amazon Echo Dot devices allows arbitrary voice comma
The CLI 1.0.0 for Amazon AWS OpenSearch has weak permissions for the configuration file. Rated critical severity (CVSS 9
Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due
Blink XT2 Sync Module firmware prior to 2.13.11 allows remote attackers to execute arbitrary commands on the device due
AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define cloud infrastructure in c
opensearch-ruby is a community-driven, open source fork of elasticsearch-ruby. Rated high severity (CVSS 8.8), this vuln
Incomplete fix for CVE-2021-3100. Rated high severity (CVSS 8.8), this vulnerability is low attack complexity. Public ex
Amazon Amazon WorkSpaces agent is affected by Integer Overflow. Rated high severity (CVSS 8.8), this vulnerability is lo
Amazon WorkSpaces agent is affected by Buffer Overflow. Rated high severity (CVSS 8.8), this vulnerability is low attack
EUVD-2026-71748
GHSA-f4f4-39r8-8gj4
NVD
CVE.org
EPSS
Exploit-DB