ADVISORIES

Vulnerability

CVE-2025-62611

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.

25 advisories report this vulnerability, across 6 ecosystems.

Advisories in PyPI

  • GHSA-r397-ff8c-wv2g

    aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server

    High CVE-2025-62611 PyPI Updated 10 September 2026
  • PYSEC-2026-1110

    aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server

    CVE-2025-62611 PyPI Updated 7 July 2026

References