Impact
The vulnerability resides in the read_resource function of mysql-mcp-server’s server.py module. By manipulating the uri_str argument, an attacker can inject arbitrary SQL code into database requests. The injection flaw can be triggered remotely over the network and has already been publicly disclosed, indicating the availability of exploitation scripts or guidance.
Affected Systems
Designcomputer’s MySQL MCP Server is affected for all releases up to and including 0.2.2. The issue is resolved in release 0.3.0. Only versions prior to 0.3.0 that contain the legacy URI handler are vulnerable.
Risk and Exploitability
Because the flaw permits remote code execution on the SQL layer, the CVSS score of 5.3 reflects moderate impact, with no current EPSS data and no listing in the CISA KEV catalogue. An attacker can send a crafted request to the server’s URI endpoint, trigger the injection, and read, modify, or delete database information. The attack requires network access to the service and does not need elevated credentials on the target system.
OpenCVE Enrichment