CVE-2025-52574 SysmonElixir path traversal in /read endpoint allows arbitrary file read

High 7.5 Published Updated

An attacker can read arbitrary files from the server via the /read endpoint in SysmonElixir, exposing sensitive data like /etc/passwd.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-52574?

CVE-2025-52574 is a high-severity path traversal vulnerability in bocaletto-luca elixir-system-monitor, published on 24 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

SysmonElixir is a system monitor HTTP service in Elixir. Prior to version 1.0.1, the /read endpoint reads any file from the server's /etc/passwd by default. In v1.0.1, a whitelist was added that limits reading to only files under priv/data. This issue has been patched in version 1.0.1.

Weakness: CWE-22

Which versions are affected by CVE-2025-52574?

How do I fix CVE-2025-52574?

No fix has been published for CVE-2025-52574 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-52574 being exploited?

There is no known exploitation of CVE-2025-52574 in the wild and no public exploit code.

Sources

Also known as GHSA-9vj4-rv7q-36qj.

Is CVE-2025-52574 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free