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.
Published: 2025-10-22
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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

Thu, 23 Oct 2025 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Aio-libs
Aio-libs aiomysql
Vendors & Products Aio-libs
Aio-libs aiomysql

Wed, 22 Oct 2025 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 22 Oct 2025 19:45:00 +0000

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'}


Subscriptions

Aio-libs Aiomysql
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-10-22T19:44:02.865Z

Reserved: 2025-10-16T19:24:37.268Z

Link: CVE-2025-62611

cve-icon Vulnrichment

Updated: 2025-10-22T19:43:54.987Z

cve-icon NVD

Status : Deferred

Published: 2025-10-22T20:15:38.363

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-62611

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2025-10-23T09:58:48Z

Weaknesses