MySQL MCP Server: Missing Origin/Host Validation in SSE Transport Enables Unauthenticated SQL Execution (DNS Rebinding / Direct Exposure) — GHSA-RQFV-2MW9-78G2
GitHub · GitHub · GHSA-RQFV-2MW9-78G2
ID
GHSA-RQFV-2MW9-78G2
GHSA-RQFV-2MW9-78G2
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
critical
critical
CVSS
10
10
Summary
## Summary In SSE/HTTP transport mode, `mysql_mcp_server` constructs `SseServerTransport` without passing `security_settings`. As a result, the MCP Python SDK's DNS-rebinding protection (Origin/Host header validation) is disabled; the Starlette application has no CORS or TrustedHost middleware; and the service binds to `0.0.0.0` by default with no authentication on any route. **Trigger condition:**…
Timeline
- Published by source
- 2026-09-11
Risk context
- Reported severity or threat level: critical.
- Reported CVSS score: 10 out of 10.
- Review exposure for the affected product or family: pip: mysql-mcp-server.
Product
pip: mysql-mcp-server
What to do
General, cautious steps (verify details in the official source):
- Prioritize patching or mitigation immediately (treat as actively risky).
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-RQFV-2MW9-78G2
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-09-11
- Last source activity
- 2026-09-11
- Additional identifiers
- CVE-2026-59971
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.