Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-71235: CWE-94 Code Injection in absmach magistrala

0
High
Published: 08/05/2026 (08/05/2026, 12:31:31 UTC)
Source: CVE Database V5
Vendor/Project: absmach
Product: magistrala

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 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.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 11:27:15 UTC

Technical Analysis

Magistrala's Rules Engine permits authenticated users to create server-side executable scripts in Go or Lua triggered by incoming IoT messages. The Go engine uses the Yaegi interpreter exposing the entire Go standard library, including sensitive functions such as os.ReadFile, os.WriteFile, os.Remove, and os.Environ, with only a regex-based validation blocking goroutines and panic calls. The Lua engine performs no input validation and preloads libraries that enable arbitrary database access, file I/O, SSRF, and path traversal. Consequently, an authenticated low-privileged user can exploit this to achieve arbitrary file read/write, environment variable leakage, database access, and SSRF against internal microservices, representing a critical code injection vulnerability (CWE-94).

Potential Impact

An attacker with authentication but low privileges can execute arbitrary code on the server via embedded Go or Lua scripts. This leads to full read/write access to files, leakage of environment variables, unauthorized database access, and server-side request forgery (SSRF) attacks against internal microservices. The vulnerability compromises confidentiality, integrity, and availability of the affected system, with a CVSS score of 9.9 indicating critical severity.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict authenticated user permissions to trusted users only, and disable or limit the use of embedded scripting in the Rules Engine if possible. Monitor vendor channels for updates and apply official patches or mitigations once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-05T10:53:53.175Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a731a7fbf8831d539c95c64

Added to database: 08/05/2026, 11:11:59 UTC

Last enriched: 08/05/2026, 11:27:15 UTC

Last updated: 08/06/2026, 02:06:53 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses