{"id":"CVE-2025-54379","published":"2025-07-24T22:24:23Z","modified":"2025-07-25T13:26:34Z","title":"eKuiper API endpoints handling SQL queries with user-controlled table names.","vendor":"lf-edge","product":"ekuiper","tier":"tail","description":{"text":"LF Edge eKuiper is a lightweight IoT data analytics and stream processing engine running on resource-constraint edge devices. In versions before 2.2.1, there is a critical SQL Injection vulnerability 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. This is fixed in version 2.2.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.9,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01015,"percentile":0.62285,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/lf-edge/ekuiper/security/advisories/GHSA-526j-mv3p-f4vv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/lf-edge/ekuiper/commit/72c4918744934deebf04e324ae66933ec089ebd3","tags":["x_refsource_MISC"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":12.46},{"name":"CVSS severity","points":6.23}]},"vendorSlug":"lf-edge","affectedVersions":[{"vendor":"lf-edge","product":"ekuiper","versions":["< 2.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-07-25T13:26:26.765854Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/lf-edge/ekuiper/v2","vulnerableRanges":["<2.2.1"],"patched":["2.2.1"],"from":["GHSA-526j-mv3p-f4vv","GO-2025-3827"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/lf-edge/ekuiper","vulnerableRanges":["<=1.14.7","all versions"],"patched":[],"from":["GHSA-526j-mv3p-f4vv","GO-2025-3827"],"provenance":"source"},{"ecosystem":"PyPI","package":"ekuiper","vulnerableRanges":["<=2.1.5"],"patched":[],"from":["PYSEC-2025-241"],"provenance":"source"}],"summary":{"text":"The flaw is a SQL injection in the getLast API functionality of LF Edge eKuiper, a stream processing engine for edge IoT devices, where user-controlled table name input is not properly neutralized before being used in SQL statements. An unauthenticated remote attacker who can reach the API can manipulate the table name in a request to run arbitrary SQL against the underlying SQLite database, with the potential to read, corrupt, or delete data or fully compromise the database.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:34Z"},"euvd":{"id":"EUVD-2025-22548","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-lf-edge-ekuiper-cve-2024-43406","parents":[{"from":"CVE-2024-43406","to":"CVE-2025-54379","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/pkg/store/sql/sqlTs.go"],"commits":["https://github.com/lf-edge/ekuiper/commit/1a9c745649438feaac357d282959687012b65503","https://github.com/lf-edge/ekuiper/commit/72c4918744934deebf04e324ae66933ec089ebd3"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.6,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2024-52812","published":"2025-03-10","fixed":"2.0.8","kev":false},{"cve":"CVE-2024-52290","published":"2025-05-14","fixed":"2.1.0","kev":false,"link":{"from":"CVE-2024-52290","to":"CVE-2025-54379","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/lf-edge/ekuiper/v2","fromFixed":"2.1.0","toFixed":"2.2.1","daysApart":71}]}},{"cve":"CVE-2025-54379","published":"2025-07-24","fixed":"2.2.1","kev":false}],"package":"Go:github.com/lf-edge/ekuiper/v2"}}