CVE-2026-85787 An incomplete list of disallowed inputs in the SQL validation component of Amazon awslabs postgres-mcp-server
An attacker can modify data beyond read-only limits via crafted SQL in the Amazon postgres-mcp-server due to incomplete input validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-85787?
CVE-2026-85787 is a high-severity SQL injection vulnerability in Amazon postgres-mcp-server, published on 4 Sep 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-184
Which versions are affected by CVE-2026-85787?
How do I fix CVE-2026-85787?
No fix has been published for CVE-2026-85787 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-85787 being exploited?
There is no known exploitation of CVE-2026-85787 in the wild and no public exploit code.
Sources
Also known as GHSA-f4f4-39r8-8gj4.