Technical impact
An authenticated remote code execution flaw exists in the ThingLinks platform, where the /groovyScriptTest/registerScript endpoint accepts arbitrary Groovy code and compiles it without a sandbox. An attacker with valid credentials can supply malicious script content, causing the server to instantiate and execute that code, effectively yielding full control over the host. The weakness hinges on unchecked code execution and command invocation, as identified by CWE-94 and CWE-78.
Affected Systems
The issue affects the ThingLinks enterprise IoT platform offered by mqttsnet. Any deployment of the application running a version earlier than 1.4.0 is susceptible, including v1.3.x and older releases. The vulnerability resides in the rule engine's Groovy test and registration flow.
Risk and Exploitability
The CVSS v3.1 score of 9.9 indicates critical severity. Because the flaw requires authentication, an attacker must first gain valid credentials, which could occur through compromised accounts or social engineering. Once authenticated, the attacker can submit a specially crafted script to the vulnerable endpoint, leading to arbitrary server‑side code execution. The EPSS score is currently unavailable, and the issue has not yet been listed in CISA's KEV catalog. Given the lack of a sandbox, an exploitation immediately results in full system compromise, posing high confidentiality, integrity, and availability risks.