{"id":"CVE-2022-31860","state":"PUBLISHED","title":"An issue was discovered in OpenRemote through 1.0.4 allows attackers to execute arbitrary code via a crafted Groovy rule.","description":"An issue was discovered in OpenRemote through 1.0.4 allows attackers to execute arbitrary code via a crafted Groovy rule.","publishedAt":"2022-09-06T17:50:24.000Z","updatedAt":"2025-06-12T13:54:37.378Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/openremote/openremote/","https://stackoverflow.com/questions/159148/groovy-executing-shell-commands","https://stackoverflow.com/questions/66069960/groovy-shell-sandboxing-best-practices","https://securityblog101.blogspot.com/2022/09/cve-2022-31860.html"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T19:50:06.617Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/31xxx/CVE-2022-31860.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-31860","state":"PUBLISHED","datePublished":"2022-09-06T17:50:24.000Z","dateUpdated":"2025-06-12T13:54:37.378Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-05-31T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"An issue was discovered in OpenRemote through 1.0.4 allows attackers to execute arbitrary code via a crafted Groovy rule."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/openremote/openremote/","tags":["x_refsource_MISC"]},{"url":"https://stackoverflow.com/questions/159148/groovy-executing-shell-commands","tags":["x_refsource_MISC"]},{"url":"https://stackoverflow.com/questions/66069960/groovy-shell-sandboxing-best-practices","tags":["x_refsource_MISC"]},{"url":"https://securityblog101.blogspot.com/2022/09/cve-2022-31860.html","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2022-09-06T17:50:24.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-31860","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"An issue was discovered in OpenRemote through 1.0.4 allows attackers to execute arbitrary code via a crafted Groovy rule."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/openremote/openremote/","refsource":"MISC","url":"https://github.com/openremote/openremote/"},{"name":"https://stackoverflow.com/questions/159148/groovy-executing-shell-commands","refsource":"MISC","url":"https://stackoverflow.com/questions/159148/groovy-executing-shell-commands"},{"name":"https://stackoverflow.com/questions/66069960/groovy-shell-sandboxing-best-practices","refsource":"MISC","url":"https://stackoverflow.com/questions/66069960/groovy-shell-sandboxing-best-practices"},{"name":"https://securityblog101.blogspot.com/2022/09/cve-2022-31860.html","refsource":"MISC","url":"https://securityblog101.blogspot.com/2022/09/cve-2022-31860.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/openremote/openremote/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://stackoverflow.com/questions/159148/groovy-executing-shell-commands","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://stackoverflow.com/questions/66069960/groovy-shell-sandboxing-best-practices","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://securityblog101.blogspot.com/2022/09/cve-2022-31860.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T07:26:01.286Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-06-12T13:54:32.930583Z","id":"CVE-2022-31860","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","type":"CWE","lang":"en","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-12T13:54:37.378Z"}}]}}}