CVE-2024-42469
CRITICAL 9.8CVSS 3.1CometVisu Backend for openHAB affected by RCE through path traversal
openHAB, a provider of open-source home automation software, has add-ons including the visualization add-on CometVisu. Prior to version 4.2.1, CometVisu's file system endpoints don't require authentication and additionally the endpoint to update an existing file is susceptible to path traversal. This makes it possible for an attacker to overwrite existing files on the openHAB instance. If the overwritten file is a shell script that is executed at a later time, this vulnerability can allow remote code execution by an attacker. Users should upgrade to version 4.2.1 to receive a patch.
- Published
- 12 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-f729-58x4-gqgf
- Sources
- NVDJSONOSV GHSA-f729-58x4-gqgfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openhab | openhabcpe:2.3:a:openhab:openhab:*:*:*:*:*:*:*:* |
< 4.2.1 | 4.2.1 |
| OSV | Maven | org.openhab.ui.bundles:org.openhab.ui.cometvisu | < 4.2.1 | 4.2.1 |
References
- https://github.com/openhab/openhab-webui/commit/630e8525835c698cf58856aa43782d92b18087f2 · Patch, WEB
- https://github.com/openhab/openhab-webui/security/advisories/GHSA-f729-58x4-gqgf · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-42469 · ADVISORY
- https://github.com/openhab/openhab-webui · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 12 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Aug 2024)