CVE-2025-62611
published high CVSS 4.0 · 8.2aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| aio-libs | — | aiomysql< 0.3.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| aio-libs | aiomysql | < 0.3.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-73 CWE-73: External Control of File Name or Path
References
3Provider assertions
2GitHub_M · cna
aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 84dc5d374dba010c85127e0c8fde76995aa9d5933d21456e06773c770ce77333
- Ingested
- 23 Sep 2026, 08:55:41 UTC
- Source record
- Official CVE record