CVE-2025-62611
HIGH 8.2CVSS 4.0aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server
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.
- Published
- 22 Oct 2025
- Last modified
- 8 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-73
- Also known as
- GHSA-r397-ff8c-wv2gPYSEC-2026-1110
- Sources
- NVDJSONOSV GHSA-r397-ff8c-wv2gJSONOSV PYSEC-2026-1110JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/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 | GitHub | CVSS 4.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:N | |
| OSV | PyPA | CVSS 4.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:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | aiomysql | < 0.3.0 | 0.3.0 |
References
- https://github.com/aio-libs/aiomysql/commit/32c4520dae3711367ded74a4726dcb8bb8919538 · WEB
- https://github.com/aio-libs/aiomysql/pull/1044 · WEB
- https://github.com/aio-libs/aiomysql/security/advisories/GHSA-r397-ff8c-wv2g · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-62611 · ADVISORY
- https://github.com/aio-libs/aiomysql · PACKAGE
- https://pypi.org/project/aiomysql · PACKAGE
- https://github.com/advisories/GHSA-r397-ff8c-wv2g · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 22 Oct 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Oct 2025)