# CVE-2024-42469: CometVisu Backend for openHAB affected by RCE through path traversal

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `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): 1.21%, higher than 69% of CVEs (2026-12-01)
- Published: 2024-08-09T18:12:11.502Z
- Modified: 2026-06-17T07:49:30.620Z
- Also known as: GHSA-f729-58x4-gqgf
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- openhab openhab-webui: < 4.2.1
- openhab openhab: before 4.2.1
- org.openhab.ui.bundles:org.openhab.ui.cometvisu (Maven): before 4.2.1

## Every score

- GitHub_M: 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`
- GitHub: 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`
- GitHub: CVSS:4.0 Critical `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: 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://github.com/openhab/openhab-webui/security/advisories/GHSA-f729-58x4-gqgf> (vendor-advisory, web)
- <https://github.com/openhab/openhab-webui/commit/630e8525835c698cf58856aa43782d92b18087f2> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-42469> (advisory)
- <https://github.com/openhab/openhab-webui> (package)

## Sources

- CVE List: [CVE-2024-42469](https://www.cve.org/CVERecord?id=CVE-2024-42469), CVE Terms of Use, modified 2024-08-09
- GitHub Advisory Database: [GHSA-f729-58x4-gqgf](https://github.com/advisories/GHSA-f729-58x4-gqgf), CC-BY-4.0, modified 2024-08-12
- NVD: [CVE-2024-42469](https://nvd.nist.gov/vuln/detail/CVE-2024-42469), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-42469 · Whole record: https://cve.day/CVE-2024-42469.json · Rebuilt by cve.day 2026-11-25T22:58:44.179Z
