MySQL MCP server left SQL wide open in SSE mode
A missing security setting in mysql-mcp-server let anyone on the network run arbitrary SQL, with 25 exposed instances found online.
13 Sept 2026
The mysql-mcp-server MCP package, when run in SSE/HTTP transport mode, created its SSE transport without security settings, disabling DNS-rebinding protection and leaving all routes unauthenticated while binding to 0.0.0.0. This allowed network attackers or malicious web pages to invoke execute_sql for arbitrary unauthenticated SQL execution, data exfiltration, and potentially file read/write and RCE; 25 publicly reachable instances were found.
Disclosed 11 September 2026 · Record updated 13 September 2026
Unauthenticated arbitrary SQL execution against configured databases, full data exfiltration/modification, and possible arbitrary file read/write and RCE where the MySQL account has FILE privilege; internet scanning found 25 publicly reachable SSE instances.
A missing security setting in mysql-mcp-server let anyone on the network run arbitrary SQL, with 25 exposed instances found online.
13 Sept 2026