{"id":"CVE-2024-36039","aliases":["GHSA-v9hf-5j83-6xpp","PYSEC-2026-502"],"url":"https://o3.security/vulnerability/CVE-2024-36039","summary":"PyMySQL SQL Injection vulnerability","details":"PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.","published":"2024-05-21T00:00:00Z","modified":"2026-07-15T01:48:50.137656133Z","cvss":{"score":6.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pymysql","fixedVersion":"1.1.1"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36039.json"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36039"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:50.137656133Z"}}