Skip to content
CriticalVulnerability

CVE-2026-59971: MySQL MCP Server SSE transport allows unauthenticated SQL execution

Identifier
CVE-2026-59971
Published
Record updated
View JSON
Affected
  • mysql-mcp-server < 0.4.2
Fixed in
0.4.2
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Prior to 0.4.2, the MySQL MCP Server's SSE transport (MCP_TRANSPORT=sse) in src/mysql_mcp_server/server.py runs without security_settings or DNS rebinding protection, and its routes have no authentication while binding to 0.0.0.0 by default. A network attacker, or a victim's browser through DNS rebinding, can reach execute_sql and run arbitrary queries, enabling unauthenticated disclosure and modification of the database, and file read or write plus possible code execution when the MySQL account has FILE privileges. The default stdio transport is not affected.

Mitigation

Fixed in 0.4.2.