Advisory

PYSEC-2026-1685

Also known as: CVE-2024-21272, GHSA-hgjp-83m4-h4fj

Summary

MySQL Connector/Python connector takeover vulnerability

Details

Vulnerability in the MySQL Connectors product of Oracle MySQL (component: Connector/Python). Supported versions that are affected are 9.0.0 and prior. Difficult to exploit vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Connectors. Successful attacks of this vulnerability can result in takeover of MySQL Connectors. CVSS 3.1 Base Score 7.5 (Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).

Severity

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

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

mysql-connector-python

PyPI · All systems

Affected

  • introduced 0, fixed 9.1.0 (ecosystem)

Fixed versions

9.1.0

Fix

  • Fixed version 9.1.0
    pip install --upgrade mysql-connector-python==9.1.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