CometVisu Backend for openHAB affected by RCE through path traversalGHSA-f729-58x4-gqgf
CRITICALFix: openhab/openhab-webui@630e852GHSA-f729-58x4-gqgf 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.
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 GHSA-f729-58x4-gqgf.
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
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.
This vulnerability was discovered with the help of CodeQL's Uncontrolled data used in path expression query.
Impact
This issue may lead up to Remote Code Execution (RCE).
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-f729-58x4-gqgf 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-f729-58x4-gqgf in your dependencies?
Find it across Maven, including transitive dependencies.