CVE-2025-62611: aio-libs aiomysql · External Control of File Name or Path
Affects aio-libs aiomysqlSource CVE Database V5
Not known to be exploited · CVSS 8.2 High : upgrade to 0.3.0 soon.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.3.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade aio-libs aiomysql to 0.3.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIaiomysqlpkg:pypi/aiomysqlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Upgrade all instances of aiomysql to version 0.3.0 or later, where the vulnerability is patched. 2. Implement strict network segmentation and firewall rules to restrict client connections only to trusted MySQL servers, preventing rogue server interactions. 3. Employ application-layer validation and monitoring to detect unusual LOAD_LOCAL commands or unexpected file transfers. 4. Review and minimize the use of LOAD_LOCAL capability in MySQL client configurations where possible. 5. Conduct security audits of asynchronous Python applications to identify usage of vulnerable aiomysql versions. 6. Educate developers and DevOps teams about the risks of connecting to untrusted database servers and enforce secure coding practices. 7. Monitor threat intelligence feeds for any emerging exploits targeting this vulnerability to respond promptly.
Description
CVE-2025-62611 is a high-severity vulnerability in the aio-libs aiomysql library versions prior to 0.3.0. The flaw allows a rogue MySQL server to exploit the client by requesting arbitrary local files via the LOAD_LOCAL instruction, bypassing client-side checks. This can lead to unauthorized disclosure of sensitive client files without requiring authentication or user interaction. The vulnerability arises from improper validation of client settings before sending local files to the server. Although no known exploits are currently reported in the wild, the issue has been patched in aiomysql version 0.3.0. European organizations using vulnerable versions of aiomysql in their asynchronous Python applications that connect to MySQL databases are at risk.