github.com/lf-edge/ekuiper/v2
Affected
- introduced
0, fixed2.4.0(semver)
Fixed versions
2.4.0
Fix
- Fixed version
2.4.0go get github.com/lf-edge/ekuiper/[email protected]
Advisory
Also known as: CVE-2025-24979, GO-2026-6447
LF Edge eKuiper: SSRF in External Service
Summary
Server-side request forgery (SSRF) vulnerability in eKuiper allows an attacker with permissions to register external services or create rules to induce the eKuiper server to make requests to unintended network locations, such as internal services, loopback interfaces (localhost), or cloud metadata endpoints.
Details
Prior to v2.4.0, eKuiper external service registrations and HTTP invocations did not validate destination IP addresses. An attacker with access to the eKuiper management API could register an external service pointing to an internal address (such as http://127.0.0.1:9081 or other internal network services) and trigger queries using service functions (e.g. SELECT tsschemaless(...) FROM demo). This allows probing internal networks, leaking sensitive information (such as internal endpoints/credentials), or interacting with internal APIs accessible to the eKuiper host.
PoC
{
"interfaces": {
"tsschemaless": {
"address": "http://127.0.0.1:9081",
"protocol": "rest",
"options": {
"insecureSkipVerify": true,
"headers": {
"Accept-Charset": "utf-8"
}
},
"schemaless": true
}
}
}
SELECT tsschemaless("get", "/metadata/sources/yaml/mqtt", *) FROM demo.Impact
Server-Side Request Forgery (SSRF) allowing unauthorized access / probing of internal network services.
Remediation & Patches
httpx.GetSSRFDialContext) is enabled by default across HTTP clients, blocking requests to private, loopback, link-local, multicast, and unspecified IP addresses.Workarounds (for versions < 2.4.0)
If unable to upgrade immediately:
169.254.169.254).GET /services or bin/kuiper show services) to verify target hosts.Notes for Users Upgrading to >= 2.4.0
basic.enablePrivateNet in kuiper.yaml defaults to false (blocking private network access).basic.enablePrivateNet: true (or via environment variable KUIPER__BASIC__ENABLEPRIVATENET=true). Ensure eKuiper's API is protected before enabling this setting.Reported by Alexey Kosmachev, Bi.Zone
Medium Basis: The source's own band: MODERATE
0, fixed 2.4.0 (semver)2.4.0
2.4.0go get github.com/lf-edge/ekuiper/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0