CVE-2025-62611aiomysql allows arbitrary access to client files through vulnerability of a malicious…
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.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | aiomysql | Fix pending | UBUNTU-CVE-2025-62611 | |
| Ubuntu 26.04 | aiomysql | Under investigation | UBUNTU-CVE-2025-62611 | |
| Ubuntu 25.10 | aiomysql | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-62611 | |
| Ubuntu 24.04 | aiomysql | Under investigation | UBUNTU-CVE-2025-62611 | |
| Ubuntu 22.04 | aiomysql | Under investigation | UBUNTU-CVE-2025-62611 | |
| Ubuntu 20.04 | aiomysql | Fix pending | UBUNTU-CVE-2025-62611 | |
| Debian 14 | aiomysql | Fixed | 0.3.2-1 | DEBIAN-CVE-2025-62611 |
| Debian 13 | aiomysql | Fix pending | DEBIAN-CVE-2025-62611 | |
| Debian 12 | aiomysql | Fix pending | DEBIAN-CVE-2025-62611 | |
| PyPI library | aiomysql | Fixed | 0.3.0 | PYSEC-2026-1110 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- aio-libs aiomysql: affected: < 0.3.0
References
- https://github.com/aio-libs/aiomysql/security/advisories/GHSA-r397-ff8c-wv2g
- https://github.com/aio-libs/aiomysql/pull/1044
- https://github.com/aio-libs/aiomysql/commit/32c4520dae3711367ded74a4726dcb8bb8919538
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.