CVE-2024-36039
Medium 6.3
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 38
- CVSS 3.1
- 6.3
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 57
- Auth required
- Yes
- Published
- May 21, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
What happens
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.
What to do
- Check whether you run any of the affected products and follow the vendor advisory.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pymysql |
< 1.1.1 |
1.1.1 |
pip install "pymysql>=1.1.1" |
| PyPI | pymysql |
< 1.1.1 |
1.1.1 |
pip install "pymysql>=1.1.1" |
Per OSV / GitHub Advisories (GHSA-v9hf-5j83-6xpp, PYSEC-2026-502). Check the version in your lockfile before upgrading.
Official advisories
- python313-PyMySQL-1.2.0-1.2 on GA media · SUSE · openSUSE-SU-2026:11995-1 · Oct 4, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.