MySQL Connector/Python connector takeover vulnerability
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | mysql-connector-python | < 9.1.0 | 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
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-89- Platform
- Python (PyPI)
- Package
mysql-connector-python- Disclosed
- 15.10.2024
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1685 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-hgjp-83m4-h4fj - CC BY 4.0
Vulnerability history: mysql-connector-python
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 05.2022 10.2024
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Low 1
Disclosures per year
- 2022: 2
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 0
-
MySQL Connector/Python connector takeover vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.