Live threats

All CVEs

CVE-2024-36039

Medium 6.3

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.

Original NVD text.

What to do

  1. Check whether you run any of the affected products and follow the vendor advisory.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.