Execute Automation MCP Database Server Read-Only Mode Bypass Vulnerability

Vulnerability

A vulnerability exists in Execute Automation's MCP Database Server, specifically in version 1.1.0 and earlier, as distributed through the npm package @executeautomation/database-server. The server fails to properly enforce a read-only mode, leaving it open to abuse and attacks on connected database systems, particularly PostgreSQL. This vulnerability can lead to denial-of-service conditions and other unexpected behaviors.

Impact

Exploitation of this vulnerability can cause a denial-of-service by disrupting database operations and terminating long-running queries. Additionally, it can bypass access controls in PostgreSQL, allowing unauthorized execution of commands that could disrupt services or manipulate data.

Reproduction

To reproduce this vulnerability, first upload a long-running query, such as one that pauses execution for an extended period, to the database. Then, use the MCP Database Server's 'read_query' tool to retrieve the process ID (PID) of the long-running query. Finally, issue a 'read_query' command to terminate the long-running query using the captured PID, demonstrating how the lack of proper access control can be exploited.

Added: Sep 16, 2025, 3:34 PM
Updated: Sep 16, 2025, 7:22 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
8.3
exploitability
6.6
remediation
0.0
relevance
0.5
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.