pypi package report

Is pymysql safe?

1 known vulnerability, worst severity CRITICAL.

// reach

2 direct dependencies

1 carry known advisories, worst HIGH

124 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

No published models are known to use this package.


cvss
9.8
critical

CVSS v3.1 base score out of 10

epss
0.69%
medium

chance of exploitation in 30 days, 53rd percentile of all CVEs

xyz score
5.2
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-v9hf-5j83-6xpp, the advisory selected below

// 1 advisories

GHSA-v9hf-5j83-6xpp

CRITICALGitHub ratingCVE-2024-36039

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

// cvss v3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Checked 2026-11-06 at 20:27 UTC. The most recent advisory here was published 2024-05-21. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.