GHSA-vf5j-r2hw-2hrw: Github.com/opencloud eu/opencloud OpenCloud Affected By Public Link Vulnerability
HIGHGHSA-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.
GHSA-vf5j-r2hw-2hrw at a Glance
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).
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.
Upgrade github.com/opencloud-eu/opencloud to 4.0.3
Upgrade github.com/opencloud-eu/opencloud to 5.0.2
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
GHSA-vf5j-r2hw-2hrw Affected Github.com/opencloud eu/opencloud Versions
2 component(s)| 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?
Which Github.com/opencloud eu/opencloud versions are affected?
What version fixes GHSA-vf5j-r2hw-2hrw?
Is github.com/opencloud-eu/opencloud affected?
What is the CVSS score of GHSA-vf5j-r2hw-2hrw?
What CWE is associated with GHSA-vf5j-r2hw-2hrw?
How can I check Go dependencies for GHSA-vf5j-r2hw-2hrw?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}