
Cloud Vulnerability DB
A community-led vulnerabilities database
The mcp-database-server (MCP Server) version 1.1.0 and earlier, distributed via the npm package @executeautomation/database-server, contains a vulnerability related to improper access control. The vulnerability was discovered and disclosed on September 16, 2025, affecting the npm distribution of the package. This security flaw stems from inadequate implementation of security controls for enforcing a "read-only" mode (GitHub Advisory).
The vulnerability stems from insufficient security controls in the MCP Server's implementation of a "read-only" mode. The server attempts to restrict queries to SELECT statements using a simple startsWith("SELECT") check, which proves inadequate as a security measure. The vulnerable code exists in index.ts where the tool call handler processes read_query requests. The severity is rated as High with a CVSS v3.1 score of 8.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H) (GitHub Advisory).
The vulnerability can lead to multiple security risks including denial of service affecting system availability and unauthorized access to queries running on the server, potentially resulting in data leaks. The flaw allows attackers to execute harmful operations through seemingly benign SELECT queries, including the ability to terminate backend processes and execute stored procedures with side effects (GitHub Advisory).
The recommended mitigations include: 1) Avoiding sole reliance on "starts with" SELECT checks, 2) Implementing strict access controls to specific tables that users are authorized to query, 3) Preventing multiple SQL queries from being chained together, and 4) Requiring fine-grained permissions on the database server with explicit access to specific capabilities. Currently, there are no patched versions available (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."