Vulnerabilities in pkg:golang/github.com/opencloud-eu/opencloud

PACKAGE
Advisory Summary

GHSA-vf5j-r2hw-2hrw is a HIGH (CVSS 8.2) opencloud affected by public link vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Github.com/opencloud eu/opencloud libraries in the Go ecosystem. The issue involves opencloud affected by public link exploit. Remediation is available by upgrading affected packages to version 4.0.3, 5.0.2.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/opencloud-eu/opencloud

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/opencloud-eu/opencloud. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vf5j-r2hw-2hrw - HIGH OpenCloud Affected by Public Link Exploit

GHSA-vf5j-r2hw-2hrw at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-vf5j-r2hw-2hrw
Severity HIGH
CVSS v3.1 Base Score 8.2
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Github.com/opencloud eu/opencloud
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.2

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-vf5j-r2hw-2hrw

To remediate this vulnerability, upgrade all affected Github.com/opencloud eu/opencloud dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/opencloud-eu/opencloud fixed: 4.0.3
Upgrade github.com/opencloud-eu/opencloud to 4.0.3
github.com/opencloud-eu/opencloud fixed: 5.0.2
Upgrade github.com/opencloud-eu/opencloud to 5.0.2
Verify Direct and Transitive Dependencies

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

inspect dependencies for github.com/opencloud-eu/opencloud

How to Check if You Are Affected

To determine whether your application is affected by GHSA-vf5j-r2hw-2hrw, inspect your project dependencies for Github.com/opencloud eu/opencloud:

inspect dependencies for github.com/opencloud-eu/opencloud

Analyze the terminal output to locate any version of Github.com/opencloud eu/opencloud in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Github.com/opencloud eu/opencloud, 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

### Impact A security issue was discovered in [Reva](https://github.com/opencloud-eu/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. ### Patches Update to OpenCloud version >= 4.0.3 (stable release) Update to OpenCloud version >= 5.0.2 (rolling release) ### 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: - Security Support: [security@opencloud.eu](mailto:security@opencloud.eu) - Technical Support: [support@opencloud.eu](mailto:support@opencloud.eu)

GHSA-vf5j-r2hw-2hrw Affected Github.com/opencloud eu/opencloud Versions

2 component(s)
Fixed Versions:
4.0.35.0.2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/opencloud-eu/opencloud
Go
≥ 4.0.0
< 4.0.3
4.0.3
github.com/opencloud-eu/opencloud
Go
≥ 5.0.0
< 5.0.2
5.0.2

References

Frequently Asked Questions

What is GHSA-vf5j-r2hw-2hrw?
GHSA-vf5j-r2hw-2hrw is a security vulnerability in Github.com/opencloud eu/opencloud involving OpenCloud Affected by Public Link Exploit under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Github.com/opencloud eu/opencloud versions are affected?
Affected versions include releases prior to 4.0.3, 5.0.2 across affected packages: github.com/opencloud-eu/opencloud.
What version fixes GHSA-vf5j-r2hw-2hrw?
Upgrading to 4.0.3, 5.0.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/opencloud-eu/opencloud affected?
Yes, github.com/opencloud-eu/opencloud is affected in releases prior to 4.0.3, 5.0.2. Upgrade your dependency to 4.0.3, 5.0.2 or later.
What is the CVSS score of GHSA-vf5j-r2hw-2hrw?
GHSA-vf5j-r2hw-2hrw has a CVSS v3.1 base score of 8.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N.
What CWE is associated with GHSA-vf5j-r2hw-2hrw?
GHSA-vf5j-r2hw-2hrw is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check Go dependencies for GHSA-vf5j-r2hw-2hrw?
Run the dependency tree command: 'inspect dependencies for github.com/opencloud-eu/opencloud'. 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-vf5j-r2hw-2hrw",
  "modified" : "2026-02-05T21:29:26Z",
  "published" : "2026-02-05T21:29:26Z",
  "aliases" : [ ],
  "summary" : "OpenCloud Affected by Public Link Exploit",
  "details" : "### Impact\n\nA security issue was discovered in [Reva](https://github.com/opencloud-eu/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.\n\nOpenCloud uses Reva as one of its core components and thus it is affected.\n\n### Patches\n\nUpdate to OpenCloud version >= 4.0.3 (stable release)\nUpdate to OpenCloud version >= 5.0.2 (rolling release)\n\n### Workarounds\n\nIf 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.\n\n#### Configuration Adjustment\n\n* 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.\n\n\n#### Verification of Mitigation\n\nExecute the following test: \n- Create a public link for testing. \n- Open the link url in a private (no active login) browser tab. \n- An error page with “unknown error” will be displayed.\n\nThis configuration provides immediate protection and should be implemented immediately. Configuration mitigation is available. It mitigates the problem completely.\n\n### For more information\n\nIf there are questions or comments about this advisory:\n\n- Security Support: [security@opencloud.eu](mailto:security@opencloud.eu)\n- Technical Support: [support@opencloud.eu](mailto:support@opencloud.eu)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/opencloud-eu/opencloud"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.0.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/opencloud-eu/opencloud"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0"
      }, {
        "fixed" : "5.0.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/opencloud-eu/opencloud/security/advisories/GHSA-vf5j-r2hw-2hrw"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/opencloud-eu/opencloud"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-05T21:29:26Z",
    "nvd_published_at" : null
  }
}