Home / Erxes / Erxes / CVE-2024-57186
CVE-2024-57186: is it exploited, and which versions of Erxes are affected and fixed?
CVE-2024-57186 is a path traversal (reading or writing files outside the intended folder) vulnerability in Erxes. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: erxes before 1.6.2 (GitHub advisory GHSA-rq9r-qvwg-829q). Fixed in 1.6.2 (GitHub advisory GHSA-rq9r-qvwg-829q). Severity: Medium (5.4, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2024-57186?
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.
From the CVE record by mitre, last updated June 17, 2025, 19:15 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | erxes | < 1.6.2 | 1.6.2 | GHSA-rq9r-qvwg-829q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 10, 2025. Summary: Erxes Path Traversal vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| erxes | erxes | before 1.6.2 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:13 UTC.
How severe is CVE-2024-57186?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-57186 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 10, 2025)
- EPSS
- 0.44% probability of exploitation activity in the next 30 days, percentile 39.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/erxes/erxes/commit/d626070a0fcd435ae29e689aca051ccfb440c2f3
- https://www.sonarsource.com/blog/micro-services-major-headaches-detecting-vulnerabilities-in-erxes-microservices/
When was it published, and where is the official record?
- Reserved
- January 9, 2025
- Published
- June 10, 2025, 00:00 UTC
- CVE record updated
- June 17, 2025, 19:15 UTC by mitre
- NVD
- Analyzed, last modified June 17, 2026, 08:13 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Erxes?
- Dec 2, 2026CVE-2026-142274 erxes: server-side request forgery (SSRF)
- Nov 22, 2026CVE-2026-134826 erxes: missing authentication for a critical function
- Jun 10, 2025CVE-2024-57190 Erxes: improper access control
- Jun 10, 2025CVE-2024-57189 Erxes: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2024-57186
Is CVE-2024-57186 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.44% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Erxes are affected by CVE-2024-57186?
erxes before 1.6.2, per the GitHub advisory GHSA-rq9r-qvwg-829q. The tables above give every range the sources list.
Which version fixes CVE-2024-57186?
1.6.2, per the GitHub advisory GHSA-rq9r-qvwg-829q. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-57186?
Medium (5.4, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2024-57186?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.