{"cve":"CVE-2024-36039","nvd":{"published":"2024-05-21T16:15:26.293","modified":"2026-06-17T07:36:00.780","status":"Deferred","description":"PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3},"cwes":["CWE-89"],"references":["https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1","https://lists.debian.org/debian-lts-announce/2024/05/msg00017.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/23VXBV34GFRICCVYZ6KFMSSWY5UEXCF5/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/35VOJS3SRJNLQIO7YTZFNM6RWHIHWTMK/","https://github.com/PyMySQL/PyMySQL/releases/tag/v1.1.1"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:50:30.954589733+00:00"},"epss":{"cve":"CVE-2024-36039","score":0.00691,"percentile":0.52836,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v9hf-5j83-6xpp","url":"https://osv.dev/vulnerability/GHSA-v9hf-5j83-6xpp","summary":"PyMySQL SQL Injection vulnerability","modified":"2026-09-10T03:50:14.333220721Z","packages":[{"ecosystem":"PyPI","name":"pymysql","purl":"pkg:pypi/pymysql","ranges":["<1.1.1"],"fixed":["1.1.1"]}]},{"id":"PYSEC-2026-502","url":"https://osv.dev/vulnerability/PYSEC-2026-502","summary":"PyMySQL SQL Injection vulnerability","modified":"2026-07-01T20:23:03.004299Z","packages":[{"ecosystem":"PyPI","name":"pymysql","purl":"pkg:pypi/pymysql","ranges":["<1.1.1"],"fixed":["1.1.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}