Advisory record · GHSA-rqfv-2mw9-78g2

MySQL MCP Server: Missing Origin/Host Validation in SSE Transport Enables Unauthenticated SQL Execution (DNS Rebinding / Direct Exposure)

CVSS 10.0 CriticalCriticalEPSS 0.0042 · 36th percentile

Critical, because:

  • CVSS score 10.0: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 11 Sept 2026, 20:35 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
mysql-mcp-serverPyPI<0.4.20.4.2
Identifiers
GHSA-rqfv-2mw9-78g2 · CVE-2026-59971 · PYSEC-2026-4109
Weakness (CWE)
CWE-306 · CWE-346
Published
11 Sept 2026
Updated
1 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The mysql-mcp-server package before 0.4.2 is vulnerable when run in SSE/HTTP transport mode (MCP_TRANSPORT=sse); the default stdio mode is not affected. The service has no authentication and no Origin/Host validation, so a network attacker can run arbitrary SQL via execute_sql, and a victim's browser can be used for DNS rebinding to reach a local instance. Upgrade to version 0.4.2, which enables DNS-rebinding protection and recommends binding to 127.0.0.1.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
10.0 Critical 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0042, the 36th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:09 UTC First seen by agentprime
  2. 31 Oct 2026, 14:09 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.