Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/lf-edge/ekuiper/v2
  4. ›
  5. GHSA-gj54-gwj9-x2c6

GHSA-gj54-gwj9-x2c6: eKuiper /config/uploads API arbitrary file writing may lead to RCE

July 3, 2025

eKuiper /config/uploads API supports accessing remote web URLs and saving files in the local upload directory, but there are no security restrictions, resulting in arbitrary file writing through ../. If run with root privileges, RCE can be achieved by writing crontab files or ssh keys.

References

  • github.com/advisories/GHSA-gj54-gwj9-x2c6
  • github.com/lf-edge/ekuiper
  • github.com/lf-edge/ekuiper/security/advisories/GHSA-gj54-gwj9-x2c6

Code Behaviors & Features

Detect and mitigate GHSA-gj54-gwj9-x2c6 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 2.2.0

Fixed versions

  • 2.2.0

Solution

Upgrade to version 2.2.0 or above.

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

go/github.com/lf-edge/ekuiper/v2/GHSA-gj54-gwj9-x2c6.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:31 +0000.