Live threats

All CVEs / aio-libs

CVE-2025-62611aio-libs aiomysql

High 8.2 No auth needed

Priority
64
CVSS 4.0
8.2
EPSS
—
Auth required
No
Published
Oct 22, 2025
Updated
Oct 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-73
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
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/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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for aiomysql.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI aiomysql < 0.3.0 0.3.0 pip install "aiomysql>=0.3.0"
PyPI aiomysql < 0.3.0 0.3.0 pip install "aiomysql>=0.3.0"

Per OSV / GitHub Advisories (GHSA-r397-ff8c-wv2g, PYSEC-2026-1110). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.