CVE-2025-58363Medium· 5.5▾ SunlitLF Edge eKuiper: Arbitrary File and Directory Deletion via Path Traversal in Plugin Installation Endpoint
▾ Sunlit zone — Low / medium · no exploitation signal
impact 30.3 · likelihood 0 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
A path traversal vulnerability in eKuiper's administrative management endpoints allows privileged users or attackers with access to management APIs to delete arbitrary files or directories on the host system.
In internal/plugin/native/manager.go, the plugin installation endpoint (POST /plugins/*) constructs a temporary directory path by directly joining user-supplied resource names (name) without sufficient sanitization. Supplying path traversal sequences (such as ../../...) causes the deferred cleanup operation (os.RemoveAll) to target arbitrary directories outside the intended plugin directory.
A related issue in configuration and rule lifecycle management where unvalidated rule identifiers could influence file deletion paths was also addressed by introducing unified identifier and file name validation.
POST /plugins/sources HTTP/1.1
Host: 127.0.0.1:9081
Content-Type: application/json
{
"name": "../../../../../tmp/target.txt",
"file": "http://example.com/plugin.zip",
"shellParas": [],
"functions": []
}
/tmp/target.txt is removed by os.RemoveAll.An attacker with access to eKuiper management APIs can cause arbitrary file or directory deletion, potentially leading to denial of service or disruption of the host environment. This vulnerability provides a delete-only capability and does not permit arbitrary file creation, modification, or code execution.
validate.ValidateID) and file path validation (path.VerifyFileName) have been enforced across management endpoints.9081) via authentication, reverse proxies, and firewall rules.github.com/lf-edge/ekuiper/v2 < 2.4.1Upgrade to a patched release:
github.com/lf-edge/ekuiper/v2 2.4.1Connected by shared product, vendor, weakness, or advisory.
CVE-2025-24978Low· 3.7LF Edge eKuiper: Self-XSS in External Service Creation
CVE-2025-24979Medium· 5.5LF Edge eKuiper: SSRF in External Service
CVE-2025-54379High· 9.8eKuiper API endpoints handling SQL queries with user-controlled table names.
CVE-2024-43406High· 8.8LF Edge eKuiper has a SQL Injection in sqlKvStore
CVE-2023-7260High· 7.5Path Traversal vulnerability discovered in OpenText™ CX-E Voice, affecting all version through 22.4
CVE-2023-7249Critical· 9.8Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in OpenText OpenText Directory Services allows Path Traversal.This issue affects OpenText Directory Services: from 16.4.2 before 24.1.