CVE Catalog
EnglishPolski(English translation not available — showing Polish)

CVE-2026-39842

Critical
Published: Translated: NVD NIST

Summary

OpenRemote to platforma IoT typu open-source. W wersjach 1.21.0 i wcześniejszych występują dwie powiązane podatności związane z wstrzykiwaniem wyrażeń w silniku reguł, które umożliwiają wykonanie dowolnego kodu na serwerze.

Risk Assessment

Atakujący z rolą write:rules, nawet jeśli nie jest superużytkownikiem, może stworzyć zestawy reguł JavaScript, które mają pełny dostęp do JVM, co prowadzi do zdalnego wykonania kodu jako root oraz kradzieży danych wrażliwych.

Recommendation

Zaleca się aktualizację OpenRemote do wersji powyżej 1.21.0 oraz wprowadzenie odpowiednich ograniczeń w dostępie do silnika reguł, aby zminimalizować ryzyko wykonania nieautoryzowanego kodu.

Original NVD description (English source)

OpenRemote is an open-source IoT platform. Versions 1.21.0 and below contain two interrelated expression injection vulnerabilities in the rules engine that allow arbitrary code execution on the server. The JavaScript rules engine executes user-supplied scripts via Nashorn's ScriptEngine.eval() without sandboxing, class filtering, or access restrictions, and the authorization check in RulesResourceImpl only restricts Groovy rules to superusers while leaving JavaScript rules unrestricted for any user with the write:rules role. Additionally, the Groovy rules engine has a GroovyDenyAllFilter security filter that is defined but never registered, as the registration code is commented out, rendering the SandboxTransformer ineffective for superuser-created Groovy rules. A non-superuser attacker with the write:rules role can create JavaScript rulesets that execute with full JVM access, enabling remote code execution as root, arbitrary file read, environment variable theft including database cre

Vulnerability data from NVD (NIST) · CISA KEV · EPSS