CVE-2024-36039
mediumpriority · track · 10EPSS 0.007 · 53 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-27
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
affected products (13)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1513Red Hat Enterprise Linux (PyMySQL): Schwachstelle ermöglicht SQL InjectionDeutsch2024-07-02csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Red Hat Enterprise Linux ausnutzen, um eine SQL Injection durchzuführen.
- GHSA-v9hf-5j83-6xppPyMySQL SQL Injection vulnerability2024-05-21ghsa · osvUS
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by `escape_dict`.
- PYSEC-2026-502PyMySQL SQL Injection vulnerability2026-06-29vendor · osvUS
PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by `escape_dict`.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-36039/cnnvd
- https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1cnnvd
- https://vigilance.fr/vulnerability/PyMySQL-SQL-injection-via-JSON-escape-dict-44401cnnvd
- https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1enisa_euvd
- https://lists.debian.org/debian-lts-announce/2024/05/msg00017.htmlenisa_euvd
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/enisa_euvd
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/enisa_euvd
- https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan