CVE-2025-62611 aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server
HighCVSS 8.2
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- MySQLUbuntuDebian
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.
Upgrade path
9 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/aiomysql(Debian 12) | = 0.1.1-2; = 0.3.2-1; = 0.3.2-2; All versions | No fix listed | No fix yet |
| debian/aiomysql(Debian 13) | = 0.1.1-2; = 0.3.2-1; = 0.3.2-2; All versions | No fix listed | No fix yet |
| ubuntu/aiomysql(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/aiomysql(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/aiomysql(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/aiomysql(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/aiomysql(Debian 14) | < 0.3.2-1; = 0.1.1-2 | 0.3.2-1 | Fixed |
| pypi aiomysql(PyPI) | < 0.3.0; <= 0.2.0; = 0.0.1; = 0.0.2 +24 more | 0.3.0 | Fixed |
| aio-libs aiomysql | = < 0.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi aiomysql(PyPI) | < 0.3.0 | 0.3.0 |
| pypi aiomysql(PyPI) | = 0.0.1 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.10 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.11 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.12 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.13 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.14 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.15 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.16 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.17 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.19 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.2 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.20 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.21 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.22 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.3 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.4 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.5 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.6 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.7 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.8 | No fix listed |
| pypi aiomysql(PyPI) | = 0.0.9 | No fix listed |
| pypi aiomysql(PyPI) | = 0.1.0 | No fix listed |
| pypi aiomysql(PyPI) | = 0.1.0rc1 | No fix listed |
| pypi aiomysql(PyPI) | = 0.1.0rc2 | No fix listed |
Show 18 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi aiomysql(PyPI) | = 0.1.1 | No fix listed |
| pypi aiomysql(PyPI) | = 0.2.0 | No fix listed |
| debian/aiomysql(Debian:12) | All versions | No fix listed |
| debian/aiomysql(Debian:12) | = 0.1.1-2 | No fix listed |
| debian/aiomysql(Debian:12) | = 0.3.2-1 | No fix listed |
| debian/aiomysql(Debian:12) | = 0.3.2-2 | No fix listed |
| debian/aiomysql(Debian:13) | All versions | No fix listed |
| debian/aiomysql(Debian:13) | = 0.1.1-2 | No fix listed |
| debian/aiomysql(Debian:13) | = 0.3.2-1 | No fix listed |
| debian/aiomysql(Debian:13) | = 0.3.2-2 | No fix listed |
| debian/aiomysql(Debian:14) | < 0.3.2-1 | 0.3.2-1 |
| debian/aiomysql(Debian:14) | = 0.1.1-2 | No fix listed |
| pypi aiomysql(PyPI) | <= 0.2.0 | No fix listed |
| aio-libs aiomysql | = < 0.3.0 | No fix listed |
| ubuntu/aiomysql(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/aiomysql(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/aiomysql(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/aiomysql(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/aio-libs/aiomysql/security/advisories/GHSA-r397-ff8c-wv2g vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/aio-libs/aiomysql/pull/1044 patch
- https://github.com/aio-libs/aiomysql/commit/32c4520dae3711367ded74a4726dcb8bb8919538 patch
- github.com product
- pypi.org product
- github.com vendor-advisory
- Debian Security Tracker CVE-2025-62611 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking