Home / aio-libs / aiomysql / CVE-2025-62611
CVE-2025-62611: is it exploited, and which versions of aio-libs aiomysql are affected and fixed?
CVE-2025-62611 is an external Control of File Name or Path vulnerability in aio-libs aiomysql. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: aiomysql before 0.3.0 (GitHub advisory GHSA-r397-ff8c-wv2g). Fixed in 0.3.0 (GitHub advisory GHSA-r397-ff8c-wv2g). Severity: High (8.2, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2025-62611?
aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server
aiomysql is a library for accessing a MySQL database from the asyncio. Prior to version 0.3.0, the client-side settings are not checked before sending local files to MySQL server, which allows obtaining arbitrary files from the client using a rogue server. It is possible to create a rogue MySQL server that emulates authorization, ignores client flags and requests arbitrary files from the client by sending a LOAD_LOCAL instruction packet. This issue has been patched in version 0.3.0.
From the CVE record by GitHub_M, last updated October 22, 2025, 19:44 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| aio-libs | aiomysql | < 0.3.0 |
As the CVE record by GitHub_M states it, last updated October 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | aiomysql | < 0.3.0 | 0.3.0 | GHSA-r397-ff8c-wv2g |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 23, 2025. Summary: aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server.
How severe is CVE-2025-62611?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-62611 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, October 22, 2025)
- EPSS
- 0.39% probability of exploitation activity in the next 30 days, percentile 35.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-73 External Control of File Name or Path
Where are the vendor advisories and references?
- https://github.com/aio-libs/aiomysql/security/advisories/GHSA-r397-ff8c-wv2g x_refsource_CONFIRM
- https://github.com/aio-libs/aiomysql/pull/1044 x_refsource_MISC
- https://github.com/aio-libs/aiomysql/commit/32c4520dae3711367ded74a4726dcb8bb8919538 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 16, 2025
- Published
- October 22, 2025, 19:29 UTC
- CVE record updated
- October 22, 2025, 19:44 UTC by GitHub_M
- NVD
- Deferred, last modified October 8, 2026, 11:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-62611
Is CVE-2025-62611 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.39% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of aio-libs aiomysql are affected by CVE-2025-62611?
aiomysql before 0.3.0, per the GitHub advisory GHSA-r397-ff8c-wv2g. The tables above give every range the sources list.
Which version fixes CVE-2025-62611?
0.3.0, per the GitHub advisory GHSA-r397-ff8c-wv2g. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-62611?
High (8.2, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-62611?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.