CVE-2024-42469 is a critical-severity (CVSS 9.8) Path Traversal vulnerability in org.openhab.ui.bundles:org.openhab.ui.cometvisu. A fix is available for org.openhab.ui.bundles:org.openhab.ui.cometvisu — see the affected versions and patch details below.
CometVisu Backend for openHAB affected by RCE through path traversal
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2024-42469.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.openhab.ui.bundles:org.openhab.ui.cometvisuReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.openhab.ui.bundles:org.openhab.ui.cometvisu | all versions | 4.2.1org.openhab.ui.bundles:org.openhab.ui.cometvisu:4.2.1 |
Affected Products
openhabopenhabDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.openhab.ui.bundles:org.openhab.ui.cometvisu, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.openhab.ui.bundles:org.openhab.ui.cometvisu to 4.2.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-42469 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2024-42469 in your dependencies?
Find it across Maven, including transitive dependencies.