GHSA-VF5J-R2HW-2HRW

GHSA-VF5J-R2HW-2HRW is a high-severity path traversal vulnerability in github.com/opencloud-eu/opencloud (go), affecting versions >= 4.0.0, < 4.0.3. It is fixed in 4.0.3, 5.0.2.

Summary

Workarounds

If projects are unable to update immediately, please implement the following security configuration to disable public link shares temporarily until the final solution for this problem is rolled out.

Configuration Adjustment

  • Docker Compose: Edit the docker-compose.yml and add GATEWAY_STORAGE_PUBLIC_LINK_ENDPOINT=“” (empty string value) in the environment section of the opencloud container.

Verification of Mitigation

Execute the following test:

  • Create a public link for testing.
  • Open the link url in a private (no active login) browser tab.
  • An error page with “unknown error” will be displayed.

This configuration provides immediate protection and should be implemented immediately. Configuration mitigation is available. It mitigates the problem completely.

For more information

If there are questions or comments about this advisory:

Impact

A security issue was discovered in Reva that enables a malicious user to bypass the scope validation of a public link. That allows it to access resources outside the scope of a public link.

OpenCloud uses Reva as one of its core components and thus it is affected.

Input manipulates file paths to reach files outside the intended directory, such as configuration or credential files. Typical impact: unauthorized file read or write outside the intended directory.

GHSA-VF5J-R2HW-2HRW has a CVSS score of 8.2 (High). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (4.0.3, 5.0.2); upgrading removes the vulnerable code path.

Affected versions

github.com/opencloud-eu/opencloud (>= 4.0.0, < 4.0.3) github.com/opencloud-eu/opencloud (>= 5.0.0, < 5.0.2)

Security releases

github.com/opencloud-eu/opencloud → 4.0.3 (go) github.com/opencloud-eu/opencloud → 5.0.2 (go)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

See it in your environment

Remediation advice

Update to OpenCloud version >= 4.0.3 (stable release)
Update to OpenCloud version >= 5.0.2 (rolling release)

Frequently Asked Questions

  1. What is GHSA-VF5J-R2HW-2HRW? GHSA-VF5J-R2HW-2HRW is a high-severity path traversal vulnerability in github.com/opencloud-eu/opencloud (go), affecting versions >= 4.0.0, < 4.0.3. It is fixed in 4.0.3, 5.0.2. Input manipulates file paths to reach files outside the intended directory, such as configuration or credential files.
  2. How severe is GHSA-VF5J-R2HW-2HRW? GHSA-VF5J-R2HW-2HRW has a CVSS score of 8.2 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of github.com/opencloud-eu/opencloud are affected by GHSA-VF5J-R2HW-2HRW? github.com/opencloud-eu/opencloud (go) versions >= 4.0.0, < 4.0.3 is affected.
  4. Is there a fix for GHSA-VF5J-R2HW-2HRW? Yes. GHSA-VF5J-R2HW-2HRW is fixed in 4.0.3, 5.0.2. Upgrade to this version or later.
  5. Is GHSA-VF5J-R2HW-2HRW exploitable, and should I be worried? Whether GHSA-VF5J-R2HW-2HRW is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether GHSA-VF5J-R2HW-2HRW is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix GHSA-VF5J-R2HW-2HRW?
    • Upgrade github.com/opencloud-eu/opencloud to 4.0.3 or later
    • Upgrade github.com/opencloud-eu/opencloud to 5.0.2 or later

Other vulnerabilities in github.com/opencloud-eu/opencloud

Stop the waste.
Protect your environment with Kodem.