# CVE-2024-21272: MySQL Connector/Python connector takeover vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by oracle) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-02)
- Published: 2024-10-15T19:52:58.536Z
- Modified: 2026-09-10T03:50:19.802Z
- Also known as: GHSA-hgjp-83m4-h4fj, PYSEC-2026-1685
- Weaknesses: CWE-89, CWE-306
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: oracle

## Description

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).

(As written by CVE List.)

## Affected

- Oracle Corporation MySQL Connectors: from * up to 9.0.0
- mysql-connector-python (PyPI): before 9.1.0
- oracle mysql: 9.0.0

## Every score

- oracle: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://www.oracle.com/security-alerts/cpuoct2024.html> (vendor-advisory, web)
- <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://pypi.org/project/mysql-connector-python> (package)
- <https://github.com/advisories/GHSA-hgjp-83m4-h4fj> (advisory)

## Sources

- CVE List: [CVE-2024-21272](https://www.cve.org/CVERecord?id=CVE-2024-21272), CVE Terms of Use, modified 2024-10-16
- GitHub Advisory Database: [GHSA-hgjp-83m4-h4fj](https://github.com/advisories/GHSA-hgjp-83m4-h4fj), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-21272](https://nvd.nist.gov/vuln/detail/CVE-2024-21272), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1685](https://osv.dev/vulnerability/PYSEC-2026-1685), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-21272 · Whole record: https://cve.day/CVE-2024-21272.json · Rebuilt by cve.day 2026-11-25T22:58:46.797Z
