Read the docs
TI-2025-38826 Aliases CVE-2025-62611GHSA-r397-ff8c-wv2g

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

Priority HIGH 75CWE-73Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-73 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00391 33rd percentileScored 2026-11-07
Fix Fixed aiomysql (aio-libs): 0.3.0aiomysql (PyPI): 0.3.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
aio-libsaiomysqlbefore 0.3.00.3.0Patch availableCNA
—aiomysql (PyPI)before 0.3.00.3.0Patch availableGHSA-r397-ff8c-wv2g
  • aiomysql Vendoraio-libs Affected before 0.3.0 Fixed in 0.3.0 Patch available CNA
  • aiomysql (PyPI) Vendor— Affected before 0.3.0 Fixed in 0.3.0 Patch available GHSA-r397-ff8c-wv2g

Remediation

  • Fix · CNA aiomysql (aio-libs) Fixed in 0.3.0
  • Fix · GHSA-r397-ff8c-wv2g aiomysql (PyPI) Fixed in 0.3.0 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-62611
  2. 2026-10-03 Alias added: GHSA-r397-ff8c-wv2g

References

  • TI-2024-15436 aiohttp.web.static(follow_symlinks=True) is vulnerable to directory traversal CVSS 3.1HIGH 7.5
  • TI-2023-25769 Request smuggling in aiohttp CVSS 3.1HIGH 7.5
  • TI-2023-18906 aiohttp vulnerable to HTTP request smuggling CVSS 3.1HIGH 7.5
  • TI-2023-26746 aiohttp's ClientSession is vulnerable to CRLF injection via version CVSS 3.1HIGH 7.2
  • TI-2026-66145 Multidict: Reference leak in CIMultiDict/MultiDict items-view union and subtraction CVSS 3.1MEDIUM 5.3
  • TI-2023-26747 aiohttp's ClientSession is vulnerable to CRLF injection via method CVSS 3.1MEDIUM 5.3
See all 59 →

Sources