CVE-2025-62611 Details
Description
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.
A vulnerability in aiomysql, a library for accessing MySQL databases asynchronously, allows arbitrary files to be accessed from the client and sent to a MySQL server. This issue exists in versions through 0.2.0, as the library does not properly check client-side settings before transmitting local files. A malicious MySQL server can exploit this by emulating authorization, disregarding client flags, and requesting files using a LOAD_LOCAL instruction packet. The vulnerability has been patched in version 0.3.0.
Users can upgrade to aiomysql version 0.3.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2025CISA-ADP
Assessed Oct 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/aio-libs/aiomysql/commit/32c4520dae3711367ded74a4726dcb8bb8919538 | [email protected] | Source CodeVendor |
| https://github.com/aio-libs/aiomysql/pull/1044 | [email protected] | Issue TrackingVendor |
| https://github.com/aio-libs/aiomysql/security/advisories/GHSA-r397-ff8c-wv2g | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| aio-libs aiomysql | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 22, 2025 | New CVE Received | [email protected] |
Volerion