# CVE-2022-31860: An issue was discovered in OpenRemote through 1.0.4 allows attackers to execute arbitrary code via a crafted Groovy rule.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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): 2.45%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-06T17:50:24.000Z
- Modified: 2026-06-17T04:46:23.223Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

An issue was discovered in OpenRemote through 1.0.4 allows attackers to execute arbitrary code via a crafted Groovy rule.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- openremote openremote: up to 1.0.4

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://securityblog101.blogspot.com/2022/09/cve-2022-31860.html> (exploit, third-party-advisory)
- <https://github.com/openremote/openremote/> (product)
- <https://stackoverflow.com/questions/159148/groovy-executing-shell-commands> (third-party-advisory)
- <https://stackoverflow.com/questions/66069960/groovy-shell-sandboxing-best-practices> (third-party-advisory)

## Sources

- CVE List: [CVE-2022-31860](https://www.cve.org/CVERecord?id=CVE-2022-31860), CVE Terms of Use, modified 2025-06-12
- NVD: [CVE-2022-31860](https://nvd.nist.gov/vuln/detail/CVE-2022-31860), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31860 · Whole record: https://cve.day/CVE-2022-31860.json · Rebuilt by cve.day 2026-11-25T22:58:14.706Z
