Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. aiomysql
  4. ›
  5. CVE-2025-62611

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

October 22, 2025 (updated November 10, 2025)

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.

References

  • github.com/advisories/GHSA-r397-ff8c-wv2g
  • github.com/aio-libs/aiomysql
  • github.com/aio-libs/aiomysql/commit/32c4520dae3711367ded74a4726dcb8bb8919538
  • github.com/aio-libs/aiomysql/pull/1044
  • github.com/aio-libs/aiomysql/security/advisories/GHSA-r397-ff8c-wv2g
  • nvd.nist.gov/vuln/detail/CVE-2025-62611

Code Behaviors & Features

Detect and mitigate CVE-2025-62611 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.0

Fixed versions

  • 0.3.0

Solution

Upgrade to version 0.3.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-73: External Control of File Name or Path

Source file

pypi/aiomysql/CVE-2025-62611.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 06 Dec 2025 00:19:42 +0000.