GHSA-rj4j-2jph-gg43
CRITICALLF Edge eKuiper is vulnerable to Arbitrary File Read/Write via unsanitized names and zip extraction
Summary
Multiple path traversal and unsafe path handling vulnerabilities were discovered in eKuiper prior to the fixes implemented in PR lf-edge/ekuiper#3911. The issues allow attacker-controlled input (rule names, schema versions, plugin names, uploaded file names, and ZIP entries) to influence file system paths used by the application. In vulnerable deployments, this can permit files to be created, overwritten, or extracted outside the intended directories, potentially enabling disclosure of sensitive files, tampering with configuration or plugin binaries, denial of service, or other host compromise scenarios.
Several components used unvalidated user input when constructing filesystem paths or when extracting archives. In each case, input was accepted and used directly in path operations (join, create, delete, extract) without sufficient sanitization or canonicalization, allowing the input to include path separators, .. segments, or absolute paths.
Impact
Arbitrary file overwrite / deletion: attackers could overwrite or delete files outside the intended directory, which can corrupt application data, remove logs, or disable services.
Resources
- Published
- 24 Nov 2025
- Last modified
- 3 Mar 2026
- Weakness
- CWE-22CWE-23
- Also known as
- GO-2025-4158
- Sources
- OSVJSONOSV GO-2025-4158JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/lf-edge/ekuiper/v2 | < 2.3.0 | 2.3.0 |
| OSV | Go | github.com/lf-edge/ekuiper | all versions |
References
- https://github.com/lf-edge/ekuiper/security/advisories/GHSA-rj4j-2jph-gg43 · WEB, ADVISORY
- https://github.com/lf-edge/ekuiper/pull/3911 · WEB, FIX
- https://github.com/lf-edge/ekuiper/commit/58362b089c76f08c400fe0dbb3667e6e871eaffd · WEB, FIX
- https://github.com/lf-edge/ekuiper · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Nov 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Nov 2025)