CVE-2025-55202: Opencast user interface configuration Path Traversal Vulnerability

LOW
Advisory Identifier: GHSA-hq8m-v68g-8cf8
CWE-23
Published
Advisory Summary

CVE-2025-55202 is a LOW path traversal vulnerability (CWE-23: Relative Path Traversal) affecting Opencast user interface configuration libraries in the Maven ecosystem. The issue involves opencast has a partial path traversal vulnerability in ui config. Remediation is available by upgrading affected packages to version 17.7, 18.1.

CVE-2025-55202 at a Glance

CVE Identifier CVE-2025-55202
GHSA Identifier GHSA-hq8m-v68g-8cf8
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-23: Relative Path Traversal
Affected Product Opencast user interface configuration
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-55202

To remediate this vulnerability, upgrade all affected Opencast user interface configuration dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.opencastproject:opencast-user-interface-configuration fixed: 17.7
<dependency>
    <groupId>org.opencastproject</groupId>
    <artifactId>opencast-user-interface-configuration</artifactId>
    <version>17.7</version>
</dependency>
org.opencastproject:opencast-user-interface-configuration fixed: 18.1
<dependency>
    <groupId>org.opencastproject</groupId>
    <artifactId>opencast-user-interface-configuration</artifactId>
    <version>18.1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.opencastproject

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-55202, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.opencastproject

Analyze the terminal output to locate any version of Opencast user interface configuration in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 17.7), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.opencastproject command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-23: Relative Path Traversal, where the product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory. In Opencast user interface configuration, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2025-55202 Affected Opencast user interface configuration Versions

2 component(s)
Fixed Versions:
17.718.1
Product / Package Ecosystem Affected Versions Fixed Version
org.opencastproject:opencast-user-interface-configuration
Maven
< 17.7
17.7
org.opencastproject:opencast-user-interface-configuration
Maven
≥ 18.0
< 18.1
All 1 versions
18.0
18.1

References

Frequently Asked Questions

What is CVE-2025-55202?
CVE-2025-55202 is a security vulnerability in Opencast user interface configuration involving Opencast has a partial path traversal vulnerability in UI config under CWE-23: Relative Path Traversal.
Which Opencast user interface configuration versions are affected?
Affected versions include releases prior to 17.7, 18.1 across affected packages: org.opencastproject:opencast-user-interface-configuration.
What version fixes CVE-2025-55202?
Upgrading to 17.7, 18.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is opencast-user-interface-configuration affected?
Yes, org.opencastproject:opencast-user-interface-configuration is affected in releases prior to 17.7, 18.1. Upgrade your dependency to 17.7, 18.1 or later.
What CWE is associated with CVE-2025-55202?
CVE-2025-55202 is classified under CWE-23: Relative Path Traversal (The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.).
How can I check Maven dependencies for CVE-2025-55202?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.opencastproject'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hq8m-v68g-8cf8",
  "modified" : "2025-08-29T21:13:29Z",
  "published" : "2025-08-29T15:34:37Z",
  "aliases" : [ "CVE-2025-55202" ],
  "summary" : "Opencast has a partial path traversal vulnerability in UI config",
  "details" : "The protections against path traversal attacks in the UI config module are insufficient, still partially allowing for attacks in very specific cases.\n\nThe 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.\n\nGeneral 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.\n\n### How dangerous is this?\n\nTheoretically, 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.\n\n### How to fix the issue\n\n- To mitigate this, check if you have folders which start with the same path as your `ui-config` folder\n- A fix is available in https://github.com/opencast/opencast/pull/6979\n- Updating to Opencast 17.7 or 18.1 will fix the issue",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opencastproject:opencast-user-interface-configuration"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "17.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.opencastproject:opencast-user-interface-configuration"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "18.0"
      }, {
        "fixed" : "18.1"
      } ]
    } ],
    "versions" : [ "18.0" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/opencast/opencast/security/advisories/GHSA-hq8m-v68g-8cf8"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-55202"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/opencast/opencast/pull/6979"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/opencast/opencast/commit/e2cc65d6fbe052ebb71d9f6b583bb54b181af009"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/opencast/opencast"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-23" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-29T15:34:37Z",
    "nvd_published_at" : "2025-08-29T16:15:36Z"
  }
}