Skip to main content
← All vulnerabilities
CVE-2025-62611PYSEC-2026-1110GHSA-R397-FF8C-WV2G

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • aio-libs aiomysql

    fixed in 0.3.0

  • aiomysqlPyPI

    fixed in 0.3.0

References 3

GitHub · aio-libs/aiomysql