# CVE-2025-62611: aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 0.3.0 (CNA); fix release not confirmed
- Status: published
- Published: 2025-10-22 · Modified: 2025-10-22
- Aliases: GHSA-r397-ff8c-wv2g, PYSEC-2026-1110, UBUNTU-CVE-2025-62611, DEBIAN-CVE-2025-62611, CGA-4x34-fggr-wv2r, CGA-96m7-gp2h-pq96, CGA-c3f4-94fw-wwrv, CGA-c4pr-x5f3-5cmf, CGA-c4pv-26gf-pmw7, CGA-c8wf-w3gj-mw2x, CGA-m582-48j7-6jv9, CGA-rvp9-p36v-vjr6, CGA-3f9f-2cvh-58x2, CGA-6h2x-49ch-8hh3, CGA-8h8m-6cx3-6rvg, CGA-92gh-pfpm-cx7p, CGA-jqxw-84cf-w84x, CGA-m3w2-jv8h-57fw, CGA-xjjc-pmrq-vqhm, CGA-xm57-rrrx-6ppc
- Record: https://cvemate.com/vulnerability/CVE-2025-62611 · JSON: https://cvemate.com/vulnerability/CVE-2025-62611/json

## Description

```text
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.
```

## Signals

- CVSS: 8.2 high (v4.0, CVE.org) 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
- EPSS: 0.388%, percentile 35.055%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- aio-libs aiomysql: \< 0.3.0
- chainguard airflow-2 (Chainguard): \< 2.11.0-r15
- chainguard airflow-2-bitnami-compat (Chainguard): \< 2.11.0-r15
- chainguard airflow-2-compat (Chainguard): \< 2.11.0-r15
- chainguard airflow-2-iamguarded-compat (Chainguard): \< 2.11.0-r15
- chainguard airflow-3 (Chainguard): \< 3.1.0-r3
- chainguard airflow-3-bitnami-compat (Chainguard): \< 3.1.0-r3
- chainguard airflow-3-compat (Chainguard): \< 3.1.0-r3
- chainguard airflow-3-iamguarded-compat (Chainguard): \< 3.1.0-r3
- wolfi airflow-3 (Wolfi): \< 3.1.0-r3
- wolfi airflow-3-bitnami-compat (Wolfi): \< 3.1.0-r3
- wolfi airflow-3-compat (Wolfi): \< 3.1.0-r3
- wolfi airflow-3-iamguarded-compat (Wolfi): \< 3.1.0-r3
- debian aiomysql (Debian): All versions (No fix recorded) \| \< 0.3.2-1
- ubuntu aiomysql (Ubuntu): All versions (No fix recorded)
- PyPI aiomysql (PyPI): \< 0.3.0

## References

- <https://github.com/aio-libs/aiomysql/security/advisories/GHSA-r397-ff8c-wv2g>
- <https://github.com/aio-libs/aiomysql/pull/1044>
- <https://github.com/aio-libs/aiomysql/commit/32c4520dae3711367ded74a4726dcb8bb8919538>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-62611>
- <https://github.com/aio-libs/aiomysql>
- <https://pypi.org/project/aiomysql>
- <https://github.com/advisories/GHSA-r397-ff8c-wv2g>
- <https://ubuntu.com/security/CVE-2025-62611>
- <https://www.cve.org/CVERecord?id=CVE-2025-62611>
- <https://security-tracker.debian.org/tracker/CVE-2025-62611>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62611.json>

---

Data as of 2026-12-05T09:35:09.132Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
