CVE-2025-55202 — opencast-user-interface-c…
Fix: opencast/opencast@e2cc65dCVE-2025-55202 is a CWE-23 vulnerability in org.opencastproject:opencast-user-interface-configuration. A fix is available for org.opencastproject:opencast-user-interface-configuration — see the affected versions and patch details below.
Opencast has a partial path traversal vulnerability in UI config
Exploitation Status
No confirmed exploitation observed yet
- 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-2025-55202.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.opencastproject:opencast-user-interface-configuration☕org.opencastproject:opencast-user-interface-configurationReal-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
The protections against path traversal attacks in the UI config module are insufficient, still partially allowing for attacks in very specific cases.
The path is checked without checking for the file separator. This could allow attackers access to files within another folder which starts with the same path. For example, the default UI config directory is placed at /etc/opencast/ui-config. Without this patch, an attacker can get access to files in a folder /etc/opencast/ui-config-hidden if those files are readable by Opencast.
General path traversal is not possible. For example, an attacker cannot exploit this to access files in /etc/opencast/encoding or even in /etc/opencast/ directly.
How dangerous is this?
Theoretically, this vulnerability may be exploited to get access to some non-public files. However, given the default structure of Opencast's configuration, this is extremely unlikely to hit any users. There can be but one ui-config folders. This makes it quite unlikely for any user to have created an additional folder starting with ui-config. Users could also rename this folder, but since there is no real reason for anyone to do this, this, again is extremely unlikely to trigger this issue.
How to fix the issue
- To mitigate this, check if you have folders which start with the same path as your
ui-configfolder - A fix is available in https://github.com/opencast/opencast/pull/6979
- Updating to Opencast 17.7 or 18.1 will fix the issue
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.opencastproject:opencast-user-interface-configuration | all versions | 17.7org.opencastproject:opencast-user-interface-configuration:17.7 |
| ☕Maven | org.opencastproject:opencast-user-interface-configuration | ≥ 18.0&&< 18.1 | 18.1org.opencastproject:opencast-user-interface-configuration:18.1 |
Affected Products
opencastapereoDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.opencastproject:opencast-user-interface-configuration, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.opencastproject:opencast-user-interface-configuration to 17.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-55202 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-2025-55202 in your dependencies?
Find it across Maven, including transitive dependencies.