CVEfocus › CVE database › CVE-2025-62611

CVE-2025-62611aiomysql allows arbitrary access to client files through vulnerability of a malicious…

CVSS 8.2 HighEPSS 0.7% (higher than 47% of CVEs)Published 2025-10-22Updated 2025-10-22Assigner: GitHub_M

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.

CWE-73

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

2Fixed
4Fix pending
3Under investigation
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10aiomysqlFix pendingUBUNTU-CVE-2025-62611
Ubuntu 26.04aiomysqlUnder investigationUBUNTU-CVE-2025-62611
Ubuntu 25.10aiomysqlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-62611
Ubuntu 24.04aiomysqlUnder investigationUBUNTU-CVE-2025-62611
Ubuntu 22.04aiomysqlUnder investigationUBUNTU-CVE-2025-62611
Ubuntu 20.04aiomysqlFix pendingUBUNTU-CVE-2025-62611
Debian 14aiomysqlFixed0.3.2-1DEBIAN-CVE-2025-62611
Debian 13aiomysqlFix pendingDEBIAN-CVE-2025-62611
Debian 12aiomysqlFix pendingDEBIAN-CVE-2025-62611
PyPI libraryaiomysqlFixed0.3.0PYSEC-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.

References

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.