Red Hat Security Advisory: python3.11-PyMySQL security update
Affects Red Hat python3.11-PyMySQLSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium.
Data as of 1 Nov 2026, 08:20 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 21 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 31 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIpymysqlpkg:pypi/pymysqlOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Red Hat has released an official security update for python3.11-PyMySQL in Red Hat Enterprise Linux 8 that fixes this SQL injection vulnerability. Users should apply the update as described in Red Hat advisory RHSA-2024:4244. Details on applying the update are available at https://access.redhat.com/articles/11258. No additional mitigation steps are indicated beyond applying the official patch.
Description
A SQL injection vulnerability (CVE-2024-36039) exists in the python3.11-PyMySQL package when it processes untrusted JSON input. PyMySQL is a pure-Python MySQL client library intended as a drop-in replacement for MySQLdb. This vulnerability could allow an attacker to execute arbitrary SQL commands if untrusted JSON input is used improperly. Red Hat has issued a security update for this issue in Red Hat Enterprise Linux 8. The update addresses the vulnerability by fixing the SQL injection flaw.