PT-2025-30707 · Lf Edge · Ekuiper

Odaysec

·

Published

2025-07-24

·

Updated

2025-10-10

·

CVE-2025-54379

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions LF Edge eKuiper versions prior to 2.2.1
Description A critical SQL Injection vulnerability exists in the getLast API functionality of the eKuiper project. This flaw allows unauthenticated remote attackers to execute arbitrary SQL statements on the underlying SQLite database by manipulating the table name input in an API request. Exploitation can lead to data theft, corruption, or deletion, and full database compromise. The root cause lies in the use of unsanitized user-controlled input when constructing SQL queries using fmt.Sprintf, without validating the table parameter. A crafted request to the /sql-query API endpoint with a malicious table parameter can be used to inject SQL commands.
Recommendations LF Edge eKuiper versions prior to 2.2.1 should be updated to version 2.2.1.

Exploit

Fix

SQL injection

Weakness Enumeration

Related Identifiers

CVE-2025-54379
GHSA-526J-MV3P-F4VV
GO-2025-3827
OPENSUSE-SU-2025:15405-1

Affected Products

Ekuiper