External Control of File Name or Path in aiomysql - CVE-2025-62611
Published: November 17, 2025
Vulnerability details
The vulnerability allows a remote attacker to gain access to sensitive information.
The vulnerability exists due to the client-side settings are not checked before sending local files to a remote MySQL server. A remote attacker can 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 and read arbitrary files on the system.
Affected software
openEuler
python-aiomysql
python-aiomysql-help
python3-aiomysql
How to mitigate CVE-2025-62611
python-aiomysql - addressed in versions 0.0.21-2, 0.2.0-2
python-aiomysql-help - addressed in versions 0.0.21-2, 0.2.0-2
python3-aiomysql - addressed in versions 0.0.21-2, 0.2.0-2