{"schemaVersion":4,"id":"CVE-2025-54379","aliases":["PYSEC-2025-241","GHSA-526j-mv3p-f4vv","GO-2025-3827"],"status":"published","duplicateOf":null,"title":"eKuiper API endpoints handling SQL queries with user-controlled table names.","description":"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.","dates":{"published":"2025-07-24T22:24:23.709Z","modified":"2025-07-25T13:26:34.392Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":8.9,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":9.3,"severity":"critical","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":8.9,"severity":"high","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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00874,"percentile":0.6018,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00874},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00814,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00874,"percentile":0.6018}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.01015,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00874,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00874,"percentile":0.6018}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_LF-EDGE_EKUIPER","name":"Ekuiper","source":"github","url":"https://github.com/lf-edge/ekuiper/security/advisories/GHSA-r5ph-4jxm-6j9p","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"github.com/lf-edge","product":"ekuiper","name":"github.com/lf-edge/ekuiper","label":"ekuiper","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/lf-edge/ekuiper","purlType":"golang","versions":[{"text":"≤ 1.14.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.14.7","endInclusive":true}},{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"≤ 1.14.7 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/lf-edge/ekuiper","product":"v2","name":"github.com/lf-edge/ekuiper/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/lf-edge/ekuiper/v2","purlType":"golang","versions":[{"text":"< 2.2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.2.1","endInclusive":false}}],"versionsText":"< 2.2.1","eol":null,"hubHref":null},{"vendor":"lf-edge","product":"ekuiper","name":"ekuiper","label":"ekuiper","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.2.1","endInclusive":false}}],"versionsText":"< 2.2.1","eol":null,"hubHref":"/vendor/lf-edge/ekuiper"},{"vendor":"lfedge","product":"ekuiper","name":"ekuiper","label":"ekuiper","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.1.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"exact","version":"2.1.5"}}],"versionsText":"2.1.5","eol":null,"hubHref":"/vendor/lfedge/ekuiper"},{"vendor":"PyPI","product":"ekuiper","name":"ekuiper","label":"ekuiper","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/ekuiper","purlType":"pypi","versions":[{"text":"≤ 2.1.5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.1.5","endInclusive":true}}],"versionsText":"≤ 2.1.5","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/lf-edge/ekuiper/security/advisories/GHSA-526j-mv3p-f4vv","label":"github.com/lf-edge/ekuiper/security/advisories/GHSA-526j-mv3p-f4vv","hostname":"github.com","tags":["X Refsource CONFIRM","EVIDENCE","WEB","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/lf-edge/ekuiper/commit/72c4918744934deebf04e324ae66933ec089ebd3","label":"github.com/lf-edge/ekuiper/commit/72c4918744934deebf04e324ae66933ec089ebd3","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54379","label":"nvd.nist.gov/vuln/detail/CVE-2025-54379","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/lf-edge/ekuiper","label":"github.com/lf-edge/ekuiper","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2025:15405-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:15405-1"]},"timeline":[{"kind":"published","date":"2025-07-24T22:24:23.709Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-07-25T13:26:34.392Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (GitHub, Date unknown)","nextStep":"Check applicability: affected before 2.2.1 (CNA); fix release not confirmed","rank":[0,0,0,1,1,89],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00874,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2025-07-25T13:26:34.392Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.9,"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","version":"4.0","headline":true},{"type":"cvss","source":"osv_pypi","date":"2025-07-25T13:26:34.392Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"osv_go","date":"2025-07-25T13:26:34.392Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.3,"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","version":"4.0"},{"type":"cvss","source":"nvd","date":"2025-07-25T13:26:34.392Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.9,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2025-07-25T13:26:34.392Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2025-07-25T13:26:26.765Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"},{"type":"exploit","source":"github","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"poc","verified":false}],"epss":{"value":0.00874,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:54:40.268Z","stale":false,"partial":false}}