Skip to content

← Actionable
Medium, CVSS 5.5amended

LF Edge eKuiper: Arbitrary File and Directory Deletion via Path Traversal in Plugin Installation Endpoint

CVE-2025-58363GHSA-c23q-fw86-9h5x

What to do

Partial vendor fix. Follow the primary source's mitigation guidance and check back for a fix.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

  • Go github.com/lf-edge/ekuiper/v2

    Affected
    < 2.4.1
    Fixed in
    2.4.1
  • Go github.com/lf-edge/ekuiper

    Affected
    every version
    Fixed in
    no fixed version recorded

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS
5.5 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
EPSS
No dated EPSS signal available.
Source description

As published by the source; long descriptions are shortened.

Summary 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. Details 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. PoC 1. Target file deletion via plugin installation endpoint: 2. When the request finishes, /tmp/target.txt is removed by os.RemoveAll. Impact An attacker with access…

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 3 · amended ·

    Amended from ghsa record GHSA-c23q-fw86-9h5x

  2. Revision 2 · amended ·

    Amended from osv record GO-2026-6445

  3. Revision 1 · created ·

    Published from osv record GHSA-c23q-fw86-9h5x

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: CVE-2025-58363

Advisory: LF Edge eKuiper: Arbitrary File and Directory Deletion via Path Traversal in Plugin Installation Endpoint
IDs: CVE-2025-58363, GHSA-c23q-fw86-9h5x
Record: https://patchnext.com/advisories/cve-2025-58363 (revision 3, source checked 26 Oct 2026, 15:29 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Medium (CVSS 5.5)
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Partial vendor fix; fixed versions by package: github.com/lf-edge/ekuiper/v2 2.4.1. A vendor fix does not mean a deployment is fixed.

## Affected components
- Go github.com/lf-edge/ekuiper/v2: affected < 2.4.1; fixed in 2.4.1
- Go github.com/lf-edge/ekuiper: affected every version

## Suggested inspection (read-only)
- Go github.com/lf-edge/ekuiper/v2: check the installed version with your package manager.
- Go github.com/lf-edge/ekuiper: check the installed version with your package manager.

## Supported action
No complete vendor fix is recorded. Follow the primary source's mitigation guidance and check this record again before closing anything.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on github.com/lf-edge/ekuiper/v2, github.com/lf-edge/ekuiper.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://osv.dev/vulnerability/GHSA-c23q-fw86-9h5x (OSV record GHSA-c23q-fw86-9h5x lists affected ranges: Go github.com/lf-edge/ekuiper/v2 >=0 <2.4.1 (fixed))
- Verified: https://osv.dev/vulnerability/GO-2026-6445 (OSV record GO-2026-6445 lists affected ranges: Go github.com/lf-edge/ekuiper >=0; Go github.com/lf-edge/ekuiper/v2 >=0 <2.4.1 (fixed))
- Verified: https://github.com/advisories/GHSA-c23q-fw86-9h5x (GitHub-reviewed advisory GHSA-c23q-fw86-9h5x lists affected ranges: Go github.com/lf-edge/ekuiper/v2 >=0 <2.4.1)

Commands are suggestions: review each one before running it.

Loading voting…