PyPA Advisory Database
PYSEC-2026-1685
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).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | mysql-connector-python | All versions before 9.1.0 (fixed in 9.1.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-21272
- https://github.com/mysql/mysql-connector-python/commit/e6b927af06e8a85bd3754f602df96a5592b4558c
- https://github.com/mysql/mysql-connector-python
- https://www.oracle.com/security-alerts/cpuoct2024.html
- https://pypi.org/project/mysql-connector-python
- https://github.com/advisories/GHSA-hgjp-83m4-h4fj