CVE-2020-5242
published high CVSS 3.1 · 7.7openHAB exec add-ons allow remote arbitrary command execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| openhab | — | openhab-addons< 2.5.2 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openhab | openhab-addons | < 2.5.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-284 CWE-284: Improper Access Control
References
2Provider assertions
2GitHub_M · cna
openHAB exec add-ons allow remote arbitrary command execution
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3b67ee02b3ba04f06402d218adbdeba1f7404f29bb6a6673907c05d46c7742bc
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record