CVE-2025-62611
aiomysql is a library for accessing a MySQL database from the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/aio-libs/aiomysql/security/advisories/GHSA-r397-ff8c-wv2g
- github.com/aio-libs/aiomysql/pull/1044
- github.com/aio-libs/aiomysql/commit/32c4520dae3711367ded74a4726dcb8bb8919538
- nvd.nist.gov/vuln/detail/CVE-2025-62611
- github.com/advisories/GHSA-r397-ff8c-wv2g
- nvd.nist.gov/vuln/detail/CVE-2025-62611
- cve.org/CVERecord?id=CVE-2025-62611
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.