Live threats

All CVEs / Openhab

CVE-2020-5242Openhab

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
2.0%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Feb 20, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-284, CWE-863
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

openHAB before 2.5.2 allow a remote attacker to use REST calls to install the EXEC binding or EXEC transformation service and execute arbitrary commands on the system with the privileges of the user running openHAB. Starting with version 2.5.2 all commands need to be whitelisted in a local file which cannot be changed via REST calls.

Original NVD text.

What to do

  1. Apply the vendor's security update for Openhab.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
openhabopenhab< 2.5.2

Official sources

References

Links published by the sources. Open them with care.