{"id":"CVE-2025-62611","published":"2025-10-22T19:29:26Z","modified":"2025-10-22T19:44:02Z","title":"aiomysql allows arbitrary access to client files through vulnerability of a malicious MySQL server","vendor":"aio-libs","product":"aiomysql","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00672,"percentile":0.47118,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/aio-libs/aiomysql/security/advisories/GHSA-r397-ff8c-wv2g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/aio-libs/aiomysql/pull/1044","tags":["x_refsource_MISC"]},{"url":"https://github.com/aio-libs/aiomysql/commit/32c4520dae3711367ded74a4726dcb8bb8919538","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.42},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"aio-libs","affectedVersions":[{"vendor":"aio-libs","product":"aiomysql","versions":["< 0.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-10-22T19:43:26.205406Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"aiomysql","vulnerableRanges":["<0.3.0"],"patched":["0.3.0"],"from":["GHSA-r397-ff8c-wv2g","PYSEC-2026-1110"],"provenance":"source"}],"summary":{"text":"The aiomysql library (vendor aio-libs) fails to check client-side settings before sending local files to a MySQL server, so a client connecting to a rogue server can have arbitrary files read from its machine. An attacker needs to operate a malicious MySQL server that the client connects to, which can emulate authorization, ignore client flags and request files via a LOAD_LOCAL packet, and no authentication or user interaction is required once the client connects.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:39Z"},"euvd":{"id":"EUVD-2025-35594","exploited":false,"provenance":"source"}}