GHSA-mvq4-39wx-6h5g

Suggest an improvement
Source
https://github.com/advisories/GHSA-mvq4-39wx-6h5g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-mvq4-39wx-6h5g/GHSA-mvq4-39wx-6h5g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mvq4-39wx-6h5g
Aliases
Published
2026-06-08T18:31:48Z
Modified
2026-08-04T14:40:33Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 2.1 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-74"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-24T20:34:46Z",
    "nvd_published_at":  "2026-06-08T16:16:37Z",
    "severity":  "LOW"
}
References

Affected packages

PyPI / mysql-mcp-server

Package

Name
mysql-mcp-server
View open source insights on deps.dev
Purl
pkg:pypi/mysql-mcp-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.3.0

Affected versions

0.*
0.1.0
0.1.2
0.2.0
0.2.1
0.2.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-mvq4-39wx-6h5g/GHSA-mvq4-39wx-6h5g.json"