top of page
perceptive_background_267k.jpg

Magistrala's Rules Engine allows authenticated users to create rules with embedded Go or Lua scripts executed server-side when IoT messages arrive. The Go scrip…

Published:

4 August 2026 at 22:00:00

Alert date:

5 August 2026 at 12:07:08

Source:

nvd.nist.gov

Click to open the original link from this advisory

Mobile & IoT, Web Technologies, Critical Infrastructure, Database & Storage

CVE-2026-71235 affects Magistrala's Rules Engine, which allows authenticated users to embed Go or Lua scripts executed server-side upon IoT message arrival. The Go script engine uses the Yaegi interpreter with full stdlib access, and its validation only blocks goroutines and panic() calls, leaving dangerous functions like os.ReadFile, os.WriteFile, os.Remove, and os.Environ accessible. The Lua script engine performs no input validation whatsoever and preloads dangerous libraries including arbitrary database access, file I/O, an HTTP client enabling SSRF, and filepath traversal. Any authenticated low-privileged user can exploit this to achieve arbitrary file read/write on the server, leak environment variables (potentially exposing secrets), gain unauthorized database access, and perform SSRF attacks against internal microservices. The vulnerability represents a critical privilege escalation and lateral movement risk within IoT deployments using Magistrala. Remediation would require proper sandboxing of both script engines and strict allowlisting of accessible libraries.

Technical details

Mitigation steps:

Affected products:

Magistrala Rules Engine

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page