Vulnerability Description
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 credentials, and complete multi-tenant isolation bypass to access data across all realms. This issue has been fixed in version 1.22.0.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Openremote | Openremote | < 1.22.0 |
Related Weaknesses (CWE)
References
- https://github.com/openremote/openremote/releases/tag/1.22.0ProductRelease Notes
- https://github.com/openremote/openremote/security/advisories/GHSA-7mqr-33rv-p3mpExploitVendor Advisory
FAQ
What is CVE-2026-39842?
CVE-2026-39842 is a vulnerability with a CVSS score of 9.9 (CRITICAL). 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...
How severe is CVE-2026-39842?
CVE-2026-39842 has been rated CRITICAL with a CVSS base score of 9.9/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-39842?
Check the references section above for vendor advisories and patch information. Affected products include: Openremote Openremote.