LF Edge eKuiper CVE-2025-24979
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to eKuiper management API (port 9081)
-
DeliveryRegister external service with internal/loopback destination address
-
ExploitCreate SQL rule invoking service function
-
ExecutionExecute rule against active data stream
-
PersistReceive internal service HTTP response
-
ImpactExfiltrate sensitive data to attacker-controlled sink
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires authenticated access to the eKuiper management REST API (default port 9081) or CLI with permissions to register external services and create processing rules - this maps to the CVSS PR:H requirement. Two concrete API operations are needed: (1) POST /services with a service definition whose address field targets an internal/loopback IP, and (2) POST /rules to create and start a rule invoking the registered service function. There is no non-default configuration required beyond API access. Exploitation is limited by the high-privilege authentication requirement; in practice, this means the vulnerability primarily applies to insider threats, compromised admin credentials, or deployments where the management API is accessible without robust authentication. The vulnerability does not exist in eKuiper >= 2.4.0 with default settings, where private network access is blocked at the HTTP dial layer unless explicitly re-enabled via basic.enablePrivateNet. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N, score 5.5) accurately reflects that exploitation is gated behind high-privilege authenticated access to the management API, which substantially constrains the attacker pool in well-administered environments. C:H is justified because the SSRF can retrieve sensitive internal data including MQTT source credentials via eKuiper's own REST API. I:L acknowledges that some internal APIs reachable via SSRF may accept write operations. No EPSS score or KEV status is available in the provided data. The primary real-world risk amplifier is the common IoT/edge deployment pattern where the eKuiper management API (port 9081) is network-accessible with weak or absent access controls, effectively lowering the practical barrier below PR:H. The 'Authentication Bypass' tag in the input is misleading - this vulnerability requires authenticated access and is not an authentication bypass. The detailed PoC in the advisory lowers the technical skill requirement to near-zero for any attacker who achieves API access. Overall, this is a medium-severity, post-auth SSRF that becomes a higher priority in environments where eKuiper management is internet-exposed or accessible by semi-trusted operators. |
| Exploit ScenarioDerived | An attacker with administrative access to the eKuiper management API registers an external service pointing to http://127.0.0.1:9081 (eKuiper's own REST API), then creates a SQL rule - SELECT tsschemaless("get", "/metadata/sources/yaml/mqtt", *) FROM demo - that invokes this service function. When the stream processes any data event, eKuiper makes an outbound HTTP GET to its own management API, retrieving MQTT source configuration including credentials, and routes the JSON response to an attacker-controlled sink such as an external HTTP endpoint. The complete PoC is documented in GHSA-pqqc-8v73-9gg2 and requires only standard eKuiper REST API calls. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
Server-Side Request Forgery in LF Edge eKuiper (all versions prior to 2.4.0) allows authenticated high-privilege users with management API access to register external service definitions targeting internal network addresses - including loopback (127.0.0.1), RFC1918 private subnets, and cloud metadata endpoints (169.254.169.254) - and trigger outbound requests to those addresses by executing SQL processing rules. Successful exploitation enables probing internal services, exfiltrating sensitive configuration data such as MQTT credentials exposed via eKuiper's own REST API, and interacting with internal APIs reachable from the eKuiper host. No public exploit or CISA KEV listing exists at time of analysis, but a detailed proof-of-concept is embedded in the GitHub security advisory GHSA-pqqc-8v73-9gg2.
RemediationAI
Upgrade to eKuiper >= 2.4.0, which enables SSRF protection via httpx.GetSSRFDialContext by default, blocking all outbound requests to private, loopback, link-local, multicast, and unspecified IP address ranges; see the release at https://github.com/lf-edge/ekuiper/releases/tag/v2.4.0. If immediate upgrade is not feasible, apply three compensating controls: first, restrict access to the eKuiper REST API (port 9081) and CLI using network firewalls, reverse proxies, or authentication middleware so only trusted administrators can register external services or create rules (this is the highest-impact workaround); second, apply egress iptables or container network policy rules on the eKuiper host blocking outbound connections to 127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 169.254.0.0/16, and ::1/128 (note: this may break legitimate internal connectivity); third, regularly audit registered external services via GET /services or bin/kuiper show services and alert on any registration targeting non-public IP addresses. After upgrading to v2.4.0, if the deployment legitimately requires eKuiper to reach internal REST services, enable basic.enablePrivateNet: true in kuiper.yaml only after ensuring the management API is protected.
Affected Packages
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 LF Edge project providing an edge-native SQL stream processing engine used in IoT and industrial edge deployments. Its external service registration feature allows users to define REST endpoints callable as SQL user-defined functions (e.g., SELECT tsschemaless(...) FROM demo). Prior to v2.4.0, neither the service registration subsystem nor the HTTP invocation clients validated destination IP addresses against private, loopback, link-local, multicast, or unspecified address ranges - a textbook CWE-918 (SSRF) root cause. The fix in v2.4.0 introduces httpx.GetSSRFDialContext applied globally across all HTTP clients, blocking such address classes by default. A new configuration key basic.enablePrivateNet in kuiper.yaml (also settable via KUIPER__BASIC__ENABLEPRIVATENET=true) allows explicit opt-in for deployments that legitimately communicate with internal REST services. The affected package identifier is pkg:go/github.com_lf-edge_ekuiper_v2 for versions prior to 2.4.0.
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
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
Network-accessible management API requires high-privilege authentication (PR:H); SSRF leaks internal credentials (C:H) and may interact with writable internal APIs (I:L); no availability impact.
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
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
- Create an external service with an address pointing to an internal network / localhost:
{
"interfaces": {
"tsschemaless": {
"address": "http://127.0.0.1:9081",
"protocol": "rest",
"options": {
"insecureSkipVerify": true,
"headers": {
"Accept-Charset": "utf-8"
}
},
"schemaless": true
}
}
}- Load it to eKuiper and create a rule invoking it, e.g.:
SELECT tsschemaless("get", "/metadata/sources/yaml/mqtt", *) FROM demo. - Run the rule. When data flows through the stream, the response from the internal service is retrieved and can be routed to an external sink or inspected.
Impact
Server-Side Request Forgery (SSRF) allowing unauthorized access / probing of internal network services.
Remediation & Patches
- Upgrade to eKuiper >= 2.4.0: Starting with v2.4.0, SSRF protection (
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:
- Restrict Management API Access: Restrict access to the eKuiper REST API (port 9081) and CLI using network firewalls, reverse proxies, and authentication so only trusted administrators can create or update services and rules.
- Egress Network Filtering: Use firewall / iptables rules or container network isolation to block outbound requests from eKuiper to private subnets, loopback addresses, and cloud metadata endpoints (
169.254.169.254). - Audit Service Definitions: Regularly review registered external services (
GET /servicesorbin/kuiper show services) to verify target hosts.
Notes for Users Upgrading to >= 2.4.0
- In v2.4.0 and later,
basic.enablePrivateNetinkuiper.yamldefaults tofalse(blocking private network access). - If a developer's deployment legitimately requires eKuiper to communicate with internal REST services or private networks, they can explicitly opt in by setting
basic.enablePrivateNet: true(or via environment variableKUIPER__BASIC__ENABLEPRIVATENET=true). Ensure eKuiper's API is protected before enabling this setting.
Reported by Alexey Kosmachev, Bi.Zone
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
GHSA-pqqc-8v73-9gg2
NVD
CVE.org
Exploit-DB