CVE-2026-39842
CRITICAL 9.9CVSS 3.1Expression Injection in OpenRemote
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.
- Published
- 15 Apr 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-917CWE-94
- Also known as
- GHSA-7mqr-33rv-p3mp
- Sources
- NVDJSONOSV GHSA-7mqr-33rv-p3mpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openremote | openremotecpe:2.3:a:openremote:openremote:*:*:*:*:*:*:*:* |
< 1.22.0 | 1.22.0 |
| OSV | Maven | io.openremote:openremote-manager | < 1.22.0 | 1.22.0 |
References
- https://github.com/openremote/openremote/releases/tag/1.22.0 · Product, Release Notes, WEB
- https://github.com/openremote/openremote/security/advisories/GHSA-7mqr-33rv-p3mp · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39842 · ADVISORY
- https://github.com/openremote/openremote · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 Apr 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Apr 2026)