Vulnerability · Published Apr 14, 2026 · Assigned by GitHub_M
CVE-2026-39842OpenRemote is Vulnerable to Expression Injection
Critical 10.0
In plain English
A critical-severity code injection in openremote from openremote. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.openremote:openremote-manager | 1.22.0 | GHSA-7mqr-33rv-p3mp |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| openremote | openremote | < 1.22.0 |
Weakness: CWE-94, CWE-917 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/openremote/openremote/security/advisories/GHSA-7mqr-33rv-p3mp x_refsource_CONFIRM
- https://github.com/openremote/openremote/releases/tag/1.22.0 x_refsource_MISC