# CVE-2026-39842: OpenRemote is Vulnerable to Expression Injection

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.96%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-14T22:31:36.000Z
- Modified: 2026-06-17T10:42:41.053Z
- Also known as: GHSA-7mqr-33rv-p3mp
- Weaknesses: CWE-94, CWE-917
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- openremote openremote: < 1.22.0; before 1.22.0
- io.openremote:openremote-manager (Maven): before 1.22.0

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `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> (exploit, vendor-advisory, web)
- <https://github.com/openremote/openremote/releases/tag/1.22.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39842> (advisory)
- <https://github.com/openremote/openremote> (package)

## Sources

- CVE List: [CVE-2026-39842](https://www.cve.org/CVERecord?id=CVE-2026-39842), CVE Terms of Use, modified 2026-04-16
- GitHub Advisory Database: [GHSA-7mqr-33rv-p3mp](https://github.com/advisories/GHSA-7mqr-33rv-p3mp), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-39842](https://nvd.nist.gov/vuln/detail/CVE-2026-39842), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-39842 · Whole record: https://cve.day/CVE-2026-39842.json · Rebuilt by cve.day 2026-11-25T22:59:18.810Z
