Skip to main content
EPSS 0.3%top 78%

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

0
High
Published: 08/05/2026 (08/05/2026, 10:56:25 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 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).

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

Affected software

absmach

magistrala

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 14:27:36 UTC

Technical Analysis

The vulnerability exists in the magistrala product by absmach, specifically in its Rules Engine which allows authenticated users to embed Go or Lua scripts executed on the server side upon receiving IoT messages. The Lua script engine (re/lua.go) does not perform any input validation and preloads several powerful libraries such as db (enabling arbitrary database access), ioutil (file input/output), an HTTP client (enabling server-side request forgery), and filepath (enabling directory traversal). This creates a code injection risk classified under CWE-94, allowing attackers with authenticated access to execute arbitrary code with high impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation allows an authenticated user to execute arbitrary code on the server hosting magistrala, potentially leading to full system compromise. The attacker can access or manipulate the database, read or write files, perform SSRF attacks, and traverse the file system. The CVSS 3.1 score is 8.8 (high), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, restrict authenticated user permissions to trusted individuals only and monitor for suspicious activity related to rule creation and script execution.

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

Threat ID: 6a731a7fbf8831d539c95c64

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

Last enriched: 08/12/2026, 14:27:36 UTC

Last updated: 09/17/2026, 22:01:38 UTC

Views: 35

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