{"id":"CVE-2026-71235","summary":"Magistrala IoT Platform - Unrestricted Go/Lua Script Execution in Rules Engine","details":"Magistrala's Rules Engine allows authenticated users to create rules with embedded Go or Lua scripts executed server-side when IoT messages arrive. The Lua script engine (re/lua.go) performs no input validation at all and preloads dangerous libraries: db (arbitrary database access), ioutil (file I/O), an HTTP client (SSRF), and filepath (traversal).","modified":"2026-10-08T02:51:43.231366764Z","published":"2026-08-05T10:56:25.198Z","database_specific":{"cna_assigner":"TuranSec","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71235.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71235.json"},{"type":"ADVISORY","url":"https://github.com/absmach/magistrala"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71235"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/absmach/magistrala","events":[{"introduced":"0"},{"last_affected":"0"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0"}],"source":"AFFECTED_FIELD"}}],"versions":["0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-71235.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}