CVE-2026-71235
HighCVSS 8.8Exploitation Probability (EPSS)
Low risk21th percentile - higher than 21% of all known CVEs
Summary
Magistrala's Rules Engine allows authenticated users to create rules with embedded Go or Lua scripts executed server-side. The Lua engine performs no input validation and preloads dangerous libraries enabling arbitrary code execution, DB access, file I/O, SSRF, and path traversal.
Risk Assessment
An attacker can execute arbitrary code on the server, access the database, read files, or perform SSRF attacks, potentially leading to full system compromise.
Recommendation
Restrict rule creation access, implement script validation, and remove dangerous libraries from the Lua runtime environment.
Other vulnerabilities in Magistrala
Original NVD description (English source)
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).

