Advisory

PYSEC-2026-3579

Also known as: CVE-2026-11529, GHSA-mvq4-39wx-6h5g

Summary

MySQL MCP Server is Vulnerable to SQL Injection Through its mysql URI Handler

Details

A vulnerability was determined in designcomputer mysql-mcp-server up to 0.2.2. The impacted element is the function read_resource of the file src/mysql_mcp_server/server.py of the component mysql URI Handler. This manipulation of the argument uri_str causes sql injection. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized. Upgrading to version 0.3.0 is sufficient to resolve this issue. Patch name: 080bef9a96d625ce0dfbde573a08b93497871981. Upgrading the affected component is advised.

Severity

Medium Basis: CVSS v3 score 6.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2026-08-04 11:34 UTC
Modified
2026-08-04 14:30 UTC

Affected packages and fixes

mysql-mcp-server

PyPI · All systems

Affected

  • introduced 0, fixed 0.3.0 (ecosystem)

Fixed versions

0.3.0

Fix

  • Fixed version 0.3.0
    pip install --upgrade mysql-mcp-server==0.3.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences