GHSA-rj4j-2jph-gg43 LF Edge eKuiper is vulnerable to Arbitrary File Read/Write via unsanitized names and zip extraction
Attackers can read, write, or delete arbitrary files via path traversal in eKuiper, potentially compromising the host system.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-rj4j-2jph-gg43?
GHSA-rj4j-2jph-gg43 is a path traversal vulnerability in github.com/lf-edge/ekuiper, published on 24 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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
Which versions are affected by GHSA-rj4j-2jph-gg43?
4 open source packages ship an affected version, including github.com/lf-edge/ekuiper/v2 and github.com/lf-edge/ekuiper.
| Package | Affected | Fixed in |
|---|---|---|
github.com/lf-edge/ekuiper/v2 Go | All versions | 2.3.0 |
github.com/lf-edge/ekuiper/v2 Go | All versions | 2.3.0 |
github.com/lf-edge/ekuiper/v2 Go | All versions | 2.3.0 |
github.com/lf-edge/ekuiper Go | All versions | None |
How do I fix GHSA-rj4j-2jph-gg43?
Upgrade github.com/lf-edge/ekuiper/v2 to 2.3.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is GHSA-rj4j-2jph-gg43 being exploited?
There is no known exploitation of GHSA-rj4j-2jph-gg43 in the wild and no public exploit code.
Sources
Also known as GO-2025-4158.