CVE-2026-71235: Magistrala IoT Platform: Unrestricted Go/Lua Script Execution in Rules Engine

Published Aug 5, 2026
·
Updated

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 script engine (re/golang.go) runs scripts through the Yaegi interpreter with stdlib.Symbols, exposing the full Go standard library (including os and net/http) with validation limited to a regex blocking goroutines and panic() calls; dangerous functions such as os.ReadFile, os.WriteFile, os.Remove, and os.Environ remain fully accessible. 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). An authenticated low-privileged user can achieve arbitrary file read/write, environment variable leakage, database access, and SSRF against internal microservices.

Affected Software

1 affected component
Magistrala Magistrala IoT Platform Rules Engine

Event History

Aug 5, 2026
CVE Published
via MITRE·10:56 AM
Data Sourced
via MITRE·10:56 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71235?

The severity of CVE-2026-71235 is rated as critical with a score of 9.9.

2

How do I fix CVE-2026-71235?

To fix CVE-2026-71235, ensure that proper input validation is implemented to prevent unauthorized script execution in the Rules Engine of the Magistrala IoT Platform.

3

What impact does CVE-2026-71235 have on the Magistrala IoT Platform?

CVE-2026-71235 allows authenticated users to execute arbitrary Go or Lua scripts server-side, leading to potential data leakage, unauthorized access, or system compromise.

4

Who is affected by CVE-2026-71235?

Authenticated users of the Magistrala IoT Platform are affected by the vulnerabilities associated with CVE-2026-71235.

5

When was CVE-2026-71235 published?

CVE-2026-71235 was published on August 5, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203