Skip to main content

LF Edge eKuiper CVE-2025-24979

MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-09-09 https://github.com/lf-edge/ekuiper GHSA-pqqc-8v73-9gg2
5.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to eKuiper management API (port 9081)
  2. Delivery
    Register external service with internal/loopback destination address
  3. Exploit
    Create SQL rule invoking service function
  4. Execution
    Execute rule against active data stream
  5. Persist
    Receive internal service HTTP response
  6. Impact
    Exfiltrate 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.

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

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

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

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

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

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.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:N/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
High
Integrity
Low
Availability
None

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

  1. Create an external service with an address pointing to an internal network / localhost:
json
{
  "interfaces": {
    "tsschemaless": {
      "address": "http://127.0.0.1:9081",
      "protocol": "rest",
      "options": {
        "insecureSkipVerify": true,
        "headers": {
          "Accept-Charset": "utf-8"
        }
      },
      "schemaless": true
    }
  }
}
  1. Load it to eKuiper and create a rule invoking it, e.g.: SELECT tsschemaless("get", "/metadata/sources/yaml/mqtt", *) FROM demo.
  2. 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:

  1. 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.
  2. 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).
  3. Audit Service Definitions: Regularly review registered external services (GET /services or bin/kuiper show services) to verify target hosts.

Notes for Users Upgrading to >= 2.4.0

  • In v2.4.0 and later, basic.enablePrivateNet in kuiper.yaml defaults to false (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 variable KUIPER__BASIC__ENABLEPRIVATENET=true). Ensure eKuiper's API is protected before enabling this setting.

Reported by Alexey Kosmachev, Bi.Zone

Threat Intelligence Overview

Prevalence
Low
niche edge/IoT SQL stream processor, 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

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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