GitHub Advisoryadvisory · Maven
GHSA-hq8m-v68g-8cf8 Opencast has a partial path traversal vulnerability in UI config
LOW
Official page ↗
- Aliases
- CVE-2025-55202
- Ecosystem
- Maven
- Packages
- org.opencastproject:opencast-user-interface-configuration
- Severity
- Low
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
- Weaknesses
- CWE-23
- Reviewed
- 2025-08-29
Affected packages
• Maven org.opencastproject:opencast-user-interface-configuration: < 17.7 → fixed in 17.7
• Maven org.opencastproject:opencast-user-interface-configuration: >= 18.0, < 18.1 → fixed in 18.1
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-config` folder
• A fix is available in https://github.com/opencast/opencast/pull/6979
• Updating to Opencast 17.7 or 18.1 will fix the issue
Related
Alias · CVE (1)
- CVE-2025-55202 Opencast is a free, open-source platform to support the management of educational audio and video content. vulnerability
Weakness · CWE (1)
- CWE-23 Relative Path Traversal weakness
References
- https://github.com/opencast/opencast/security/advisories/GHSA-hq8m-v68g-8cf8 web
- https://nvd.nist.gov/vuln/detail/CVE-2025-55202 advisory
- https://github.com/opencast/opencast/pull/6979 web
- https://github.com/opencast/opencast/commit/e2cc65d6fbe052ebb71d9f6b583bb54b181af009 web
- https://github.com/opencast/opencast package