CVE-2025-62611 json
aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server
published last yr. modified last mo. also GHSA-r397-ff8c-wv2g , PYSEC-2026-1110 , EUVD-2025-35594
- cvss
- 8.2
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 33%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi aiomysql 0.3.0
- aiomysql Debian 14 0.3.2-1
debian advisories DEBIAN-CVE-2025-62611
- github.com/aio-libs/aiomysql@32c4520 commit
- github.com/aio-libs/aiomysql#1044 pull request
Is CVE-2025-62611 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-62611 updated cvss 7.5
aiomysql: aiomysql arbitrary access to client files
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 33% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.2 | 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 |
| CNA | 4.0 | 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | aiomysql | <0.3.0 |
0.3.0 |
Affected products
- aio-libs aiomysql
Classification
- Weakness
-
- CWE-73 External Control of File Name or Path
References
-
github.com
/aio-libs/aiomysql/pull/1044
web
-
github.com
/aio-libs/aiomysql/commit/32c4520dae3711367ded74a4726dcb8bb8919538
web
-
github.com
/aio-libs/aiomysql/security/advisories/GHSA-r397-ff8c-wv2g
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-62611
advisory
-
github.com
/aio-libs/aiomysql
package
-
pypi.org
/project/aiomysql
package
-
github.com
/advisories/GHSA-r397-ff8c-wv2g
advisory
Sources
- CVE List CVE-2025-62611
- GitHub Advisory GHSA-r397-ff8c-wv2g
- NVD CVE-2025-62611
- OSV PYSEC-2026-1110
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.