CVE-2025-54379High· 9.8▾ TwilighteKuiper API endpoints handling SQL queries with user-controlled table names.
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 53.9 · likelihood 0.2 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 13.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
0.8%
0.8% → 0.8%
Last analysed / modified upstream
high → critical
critical → high
high → critical
critical → high
high → critical
critical → high
high → critical
critical → high
high → critical
critical → high
high → critical
critical → high
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. Specifically, in:
query := fmt.Sprintf("SELECT * FROM %s ORDER BY rowid DESC LIMIT 1", table)
Any value passed as the table parameter is directly interpolated into the SQL string, enabling injection attacks. This is reachable via API interfaces that expose time-series queries.
curl -X POST http://localhost:9081/sql-query \
-H "Content-Type: application/json" \
-d '{
"table": "sensors; DROP TABLE users; --",
"operation": "getLast"
}'
users table. sqlite3 etc/kuiper/data/kuiper.db ".tables"
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
github.com/lf-edge/ekuiper/v2 < 2.2.1github.com/lf-edge/ekuiper <= 1.14.7Upgrade to a patched release:
github.com/lf-edge/ekuiper/v2 2.2.1Field changes observed since this record was first indexed.
Connected by shared product, vendor, weakness, or advisory.
CVE-2025-24978Low· 3.7LF Edge eKuiper: Self-XSS in External Service Creation
CVE-2025-24979Medium· 5.5LF Edge eKuiper: SSRF in External Service
CVE-2025-58363Medium· 5.5LF Edge eKuiper: Arbitrary File and Directory Deletion via Path Traversal in Plugin Installation Endpoint
CVE-2024-43406High· 8.8LF Edge eKuiper has a SQL Injection in sqlKvStore