PT-2026-90533

CVE-2026-59971

·

Published

2026-09-11

·

Updated

2026-10-01

Description by

CVSS 3.1
10
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions MySQL MCP Server versions prior to 0.4.2
Description When the MCP TRANSPORT variable is set to sse, the server constructs SseServerTransport without security settings or DNS-rebinding protection. This configuration leaves the Starlette application without CORS or TrustedHost middleware, and the service binds to 0.0.0.0 by default. Consequently, the endpoints /, /sse, and /messages/ lack authentication, allowing a network attacker to directly invoke the execute sql() function or use DNS rebinding to relay requests through a victim's browser. This enables unauthenticated execution of arbitrary SQL queries via cursor.execute(query), leading to the disclosure and modification of the configured database. If the MySQL account possesses FILE privileges, attackers can read or write server files, potentially resulting in remote code execution. Approximately 25 publicly reachable SSE instances have been identified. The default stdio transport is not affected.
Recommendations Update MySQL MCP Server to version 0.4.2. As a mitigation measure, bind the service to 127.0.0.1 instead of 0.0.0.0.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-RQFV-2MW9-78G2
PYSEC-2026-4109
Found an issue in the description? Have something to add? Feel free to write us 👾