CometVisu Backend for openHAB has a path traversal vulnerabilityGHSA-pcwp-26pw-j98w
MEDIUMFix: openhab/openhab-webui@630e852GHSA-pcwp-26pw-j98w 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.
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 GHSA-pcwp-26pw-j98w.
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's CometVisuServlet is susceptible to an unauthenticated path traversal vulnerability.
Local files on the server can be requested via HTTP GET on the CometVisuServlet.
This vulnerability was discovered with the help of CodeQL's Uncontrolled data used in path expression query.
Impact
This issue may lead to Information Disclosure.
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 GHSA-pcwp-26pw-j98w 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 GHSA-pcwp-26pw-j98w in your dependencies?
Find it across Maven, including transitive dependencies.