{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-71235",
        "assignerOrgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
        "state": "PUBLISHED",
        "assignerShortName": "TuranSec",
        "dateReserved": "2026-08-05T10:53:53.175Z",
        "datePublished": "2026-08-05T10:56:25.198Z",
        "dateUpdated": "2026-08-10T11:45:36.029Z"
    },
    "containers": {
        "cna": {
            "title": "Magistrala IoT Platform - Unrestricted Go/Lua Script Execution in Rules Engine",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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).",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>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).</p>"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-94 Code Injection",
                            "cweId": "CWE-94",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "absmach",
                    "product": "magistrala",
                    "programFiles": [
                        "re/golang.go",
                        "re/lua.go"
                    ],
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected"
                        }
                    ],
                    "defaultStatus": "unknown"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/absmach/magistrala",
                    "tags": [
                        "third-party-advisory"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "alibek baxtiyarov",
                    "type": "finder"
                }
            ],
            "providerMetadata": {
                "orgId": "309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c",
                "shortName": "TuranSec",
                "dateUpdated": "2026-08-10T11:45:36.029Z"
            },
            "source": {
                "discovery": "EXTERNAL"
            },
            "datePublic": "2026-08-05T10:56:25.198Z"
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-08-05T12:51:37.660677Z",
                                "id": "CVE-2026-71235",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-08-05T12:59:05.747Z"
                }
            }
        ]
    }
}