VYPR
Low severityNVD Advisory· Published Aug 29, 2025· Updated Aug 29, 2025

Opencast has a partial path traversal vulnerability in UI config

CVE-2025-55202

Description

Opencast is a free, open-source platform to support the management of educational audio and video content. In version 18.0 and versions before 17.7, 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. This issue has been fixed in versions 17.7 and 18.1. To mitigate this issue, check for folders that start with the same path as the ui-config folder.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.opencastproject:opencast-user-interface-configurationMaven
< 17.717.7
org.opencastproject:opencast-user-interface-configurationMaven
>= 18.0, < 18.118.1

Affected products

1

Patches

1
e2cc65d6fbe0

Fix partial path traversal vulnerability in UI config (#6979)

https://github.com/opencast/opencastLars KiesowAug 13, 2025via ghsa
1 file changed · +1 1
  • modules/user-interface-configuration/src/main/java/org/opencastproject/uiconfig/UIConfigRest.java+1 1 modified
    @@ -166,7 +166,7 @@ public Response getConfigFile(@PathParam("component") String component, @PathPar
         File configFile = Paths.get(uiConfigFolder, orgId, component, filename).toFile();
     
         try {
    -      final String basePath = new File(uiConfigFolder, orgId).getCanonicalPath();
    +      final String basePath = new File(uiConfigFolder, orgId).getCanonicalPath() + File.separator;
           final String configFileCanPath = configFile.getCanonicalPath();
     
           // is configFile a subdirectory of basePath (additional directory traversal protection), if not stop
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

5

News mentions

0

No linked articles in our index yet.