# CVE-2024-57189: Erxes Path Traversal vulnerability

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-10T00:00:00.000Z
- Modified: 2026-06-17T08:13:22.483Z
- Also known as: GHSA-2977-5php-6789
- Weaknesses: CWE-22, CWE-24
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

In Erxes <1.6.2, an authenticated attacker can write to arbitrary files on the system using a Path Traversal vulnerability in the importHistoriesCreate GraphQL mutation handler.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- erxes (npm): before 1.6.2
- erxes erxes: before 1.6.2

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P`

## References

- <https://www.sonarsource.com/blog/micro-services-major-headaches-detecting-vulnerabilities-in-erxes-microservices/> (exploit, third-party-advisory)
- <https://github.com/erxes/erxes/commit/d626070a0fcd435ae29e689aca051ccfb440c2f3> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-57189> (advisory)
- <https://github.com/erxes/erxes> (package)
- <https://www.sonarsource.com/blog/micro-services-major-headaches-detecting-vulnerabilities-in-erxes-microservices> (web)

## Sources

- CVE List: [CVE-2024-57189](https://www.cve.org/CVERecord?id=CVE-2024-57189), CVE Terms of Use, modified 2025-06-17
- GitHub Advisory Database: [GHSA-2977-5php-6789](https://github.com/advisories/GHSA-2977-5php-6789), CC-BY-4.0, modified 2025-06-10
- NVD: [CVE-2024-57189](https://nvd.nist.gov/vuln/detail/CVE-2024-57189), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-57189 · Whole record: https://cve.day/CVE-2024-57189.json · Rebuilt by cve.day 2026-11-25T22:58:52.746Z
