CVE-2025-62611

aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server

Published Oct 22, 2025 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-r397-ff8c-wv2g aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server
History
Type Values Removed Values Added
First Time appeared Aio-libs
Aio-libs aiomysql
Vendors & Products Aio-libs
Aio-libs aiomysql
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server
Weaknesses CWE-73
References
Metrics cvssV4_0

{'score': 8.2, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 22, 2025, 7:44 PM
Reserved
Oct 16, 2025, 7:24 PM
Status
Deferred
Published
Oct 22, 2025, 8:15 PM
Modified
Oct 8, 2026, 11:10 AM