NetSight
high7.1

CVE-2026-54563

Cloudreve WebDAV (`/dav`) has Path Traversal / Broken Access Control — scoped DAV credential escapes its configured account root

Impact

Cloudreve is a self-hosted file management and sharing system. Prior to 4.16.1, a Cloudreve WebDAV account rooted at a configured folder can send paths such as /dav/%2e%2e/outside.txt because stripPrefix in pkg/webdav/webdav.go joins the decoded request suffix to the account root with fs.URI.JoinRaw without checking containment, allowing the scoped credential to read and list files outside the configured folder and writable credentials to create, overwrite, move, or delete them. This issue is reported as fixed in version 4.16.1.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/cloudreve/Cloudreve/v4< 4.0.0-20260606032813-26b6b1044b024.0.0-20260606032813-26b6b1044b02
gogithub.com/cloudreve/Cloudreve/v3<= 3.0.0-20250225100611-da4e44b77af4none recorded

Weakness classification

References