CVE-2026-39842CRITICAL 9.9EPSS p55.7%

CVE-2026-39842CVE-2026-39842

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.

Scoring

CVSS 3.19.9 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS0.92% probability of exploitation · percentile 55.7% · 2026-06-18T12:00:27Z
Published2026-04-15
Last modified2026-04-23

Underlying weaknesses· 2

CWE-94CWE-917

References

  1. https://github.com/openremote/openremote/releases/tag/1.22.0
  2. https://github.com/openremote/openremote/security/advisories/GHSA-7mqr-33rv-p3mp

2

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')cwe-9170%live
WeaknessImproper Control of Generation of Code ('Code Injection')cwe-940%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-22812
CVE
CVE-2026-41352
CVE
CVE-2026-30741
CVE
CVE-2026-31992
CVE
CVE-2026-28393
CVE
CVE-2025-29902
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.