{"id":"CVE-2026-71235","published":"2026-08-05T11:16:26.247","lastModified":"2026-08-10T12:17:25.983","description":"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).","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-94"],"vendors":[],"products":[],"references":[{"url":"https://github.com/absmach/magistrala","tags":[]}],"exploitRefs":[{"url":"https://github.com/absmach/magistrala","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows authenticated users to execute arbitrary Go or Lua scripts server-side, leading to Remote Code Execution (RCE). This matters because it can enable attackers to gain full control over the system.","exploitability":"Exploitation is relatively straightforward for authenticated users with access to the rules engine. Precondition is having an account with sufficient permissions.","blast_radius":"If exploited, this could lead to complete compromise of the affected IoT infrastructure and potentially other systems connected through network vulnerabilities.","remediation":"Disable or restrict script execution capabilities in the Rules Engine for non-administrative users.","tags":["rce","auth-required","server-side","lua","go"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-08-11T06:47:29.644Z"}}