CVE-2024-42468 is a medium-severity (CVSS 5.3) 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.
Path traversal (CometVisu)
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.
- 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-42468.
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. CometVisuServlet in versions prior to 4.2.1 is susceptible to an unauthenticated path traversal vulnerability. Local files on the server can be requested via HTTP GET on the CometVisuServlet. This issue may lead to information disclosure. Users should upgrade to version 4.2.1 of the CometVisu add-on of openHAB 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-42468 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-42468 in your dependencies?
Find it across Maven, including transitive dependencies.