GitHub Advisoryadvisory · Go
GHSA-vf5j-r2hw-2hrw OpenCloud Affected by Public Link Exploit
HIGH
Official page ↗
- Ecosystem
- Go
- Packages
- github.com/opencloud-eu/opencloud
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2026-02-05
Affected packages
• Go github.com/opencloud-eu/opencloud: >= 4.0.0, < 4.0.3 → fixed in 4.0.3
• Go github.com/opencloud-eu/opencloud: >= 5.0.0, < 5.0.2 → fixed in 5.0.2
Description
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.
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: [email protected]
• Technical Support: [email protected]
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness