CVE-2025-62611: aio-libs aiomysql External Control of File Name or Path
Vulnerability summary
CVE-2025-62611 is a high (CVSS 8.2) External Control of File Name or Path vulnerability in aio-libs aiomysql. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 31.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 2Timeline
- 22-10-2025PublishedVulnerability first disclosed.
- 22-10-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · WolfiEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- NVDNIST8.2HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
+0.03 pp
From 0.36% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard8 products
- airflow-2< 2.11.0-r15
- airflow-2-bitnami-compat< 2.11.0-r15
- airflow-2-compat< 2.11.0-r15
- airflow-2-iamguarded-compat< 2.11.0-r15
- airflow-3< 3.1.0-r3
Wolfi4 products
- airflow-3< 3.1.0-r3
- airflow-3-bitnami-compat< 3.1.0-r3
- airflow-3-compat< 3.1.0-r3
- airflow-3-iamguarded-compat< 3.1.0-r3
Aio-libs1 product
- aiomysql< 0.3.0
Debian1 product
- aiomysqlAll versions (No fix recorded) | < 0.3.2-1
PyPI1 product
- aiomysql< 0.3.0
Ubuntu1 product
- aiomysqlAll versions (No fix recorded)
6 vendors · 16 products
References
11 links- github.com/aio-libs/aiomysql/security/advisories/GHSA-r397-ff8c-wv2gX Refsource CONFIRMWEBREPORTAdvisory
- github.com/aio-libs/aiomysql/commit/32c4520dae3711367ded74a4726dcb8bb8919538X Refsource MISCWEBREPORTFIX
- github.com/aio-libs/aiomysqlPACKAGE
- pypi.org/project/aiomysqlPACKAGE