CVE-2024-36039

GHSA-v9hf-5j83-6xpp · published 21 May 2024 · updated 16 Nov 2026

PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.

6.3MediumCVSS 6.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in pymysql 1.1.1.

PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pypi: pymysql<1.1.11.1.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-36039 severity on Zeptric[![CVE-2024-36039](https://zeptric.io/badge/cve/CVE-2024-36039.svg)](https://zeptric.io/cve/CVE-2024-36039)