Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-55495 EUVD-2026-51388GHSA-49h3-cwhj-4737GO-2026-6097

Cloudreve: Path Traversal in WOPI PUT_RELATIVE Allows Arbitrary File Creation in Owner Account

Published Jul 31, 2026 · Updated Jul 31, 2026 · Assigned by GitHub_M

Description

Cloudreve is a self-hosted file management and sharing system. Prior to 4.17.0, the WOPI PUT_RELATIVE handler passes X-WOPI-SuggestedTarget to URI.JoinRaw as a path rather than a filename, allowing slash and dot-dot segments to escape the source file directory and create or conditionally overwrite files elsewhere in the same owner account. This issue is fixed in version 4.17.0.

Affected products

VendorProductAffectedFixed
cloudreve cloudreve < 4.17.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
SLES 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 openSUSE-SU-2026:21761-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/cloudreve/Cloudreve all versions — GO-2026-6097
Go github.com/cloudreve/Cloudreve/v3 <= 3.0.0-20250225100611-da4e44b77af4 — GHSA-49h3-cwhj-4737
Go github.com/cloudreve/Cloudreve/v3 all versions — GO-2026-6097
Go github.com/cloudreve/Cloudreve/v4 < 4.0.0-20260613023150-7968e50429ef 4.0.0-20260613023150-7968e50429ef GHSA-49h3-cwhj-4737

Advisories 2

References