HIGH7.5
PYSEC-2026-1685
MySQL Connector/Python connector takeover vulnerability
Quick fix
PYSEC-2026-1685 — mysql-connector-python: upgrade to the fixed version with the command below.
pip install --upgrade 'mysql-connector-python>=9.1.0'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).
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/mysql-connector-python
Introduced in:
0Fixed in: 9.1.0Fix
pip install --upgrade 'mysql-connector-python>=9.1.0'References
- https://nvd.nist.gov/vuln/detail/CVE-2024-21272[ADVISORY]
- https://github.com/mysql/mysql-connector-python/commit/e6b927af06e8a85bd3754f602df96a5592b4558c[WEB]
- https://github.com/mysql/mysql-connector-python[PACKAGE]
- https://www.oracle.com/security-alerts/cpuoct2024.html[WEB]
- https://pypi.org/project/mysql-connector-python[PACKAGE]
- https://github.com/advisories/GHSA-hgjp-83m4-h4fj[ADVISORY]