Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. erxes
  4. ›
  5. CVE-2024-57189

CVE-2024-57189: Erxes Path Traversal vulnerability

June 10, 2025

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.

References

  • github.com/advisories/GHSA-2977-5php-6789
  • github.com/erxes/erxes
  • github.com/erxes/erxes/commit/d626070a0fcd435ae29e689aca051ccfb440c2f3
  • nvd.nist.gov/vuln/detail/CVE-2024-57189
  • www.sonarsource.com/blog/micro-services-major-headaches-detecting-vulnerabilities-in-erxes-microservices

Code Behaviors & Features

Detect and mitigate CVE-2024-57189 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.6.2

Fixed versions

  • 1.6.2

Solution

Upgrade to version 1.6.2 or above.

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-24: Path Traversal: '../filedir'

Source file

npm/erxes/CVE-2024-57189.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:41 +0000.