CVE-2025-62611
October 22, 2025
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.
Affected Packages
aiomysql (CONDA):
Affected version(s) >=0.0.9 <0.3.0Fix Suggestion:
Update to version 0.3.0https://github.com/aio-libs/aiomysql.git (GITHUB):
Affected version(s) >=v0.0.1 <v0.3.2Fix Suggestion:
Update to version v0.3.2aiomysql (PYTHON):
Affected version(s) >=0.0.1 <0.3.0Fix Suggestion:
Update to version 0.3.0Related ResourcesĀ (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
External Control of File Name or Path
EPSS
Base Score:
0.06