CVE-2024-57186 Erxes Path Traversal vulnerability
An unauthenticated attacker can read arbitrary files from the system via a path traversal vulnerability in the Erxes CRM application.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-57186?
CVE-2024-57186 is a medium-severity path traversal vulnerability in n/a, published on 10 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
In Erxes <1.6.2, an unauthenticated attacker can read arbitrary files from the system using a Path Traversal vulnerability in the /read-file endpoint handler.
Weakness: CWE-22
Which versions are affected by CVE-2024-57186?
2 open source packages ship an affected version, including erxes. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
erxes npm | All versions | 1.6.2 |
erxes npm | All versions | 1.6.2 |
Products include Erxes Erxes.
How do I fix CVE-2024-57186?
Upgrade erxes to 1.6.2 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-57186 being exploited?
There is no known exploitation of CVE-2024-57186 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-rq9r-qvwg-829q.