Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/cloudreve/Cloudreve/v3
  4. ›
  5. CVE-2026-54563

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

August 26, 2026

A Cloudreve WebDAV account stores a uri that defines the account’s root folder. The WebDAV request handler (stripPrefix in pkg/webdav/webdav.go) trims the /dav prefix from the request path and joins the remainder to that root with fs.URI.JoinRaw, but never checks that the joined URI stays inside the root.

Go’s net/http decodes %2e%2e to .. and %2f to / in r.URL.Path before the handler sees it, and JoinRaw resolves .. segments through the standard library’s url.URL.JoinPath. A request such as GET /dav/%2e%2e/outside.txt against a credential rooted at cloudreve://my/restricted therefore resolves to cloudreve://my/outside.txt. A scoped DAV credential can read and list files outside its configured folder; a writable scoped credential can also create, overwrite, move, and delete them.

The escape stays inside the same Cloudreve user’s namespace because downstream DBFS owner checks still apply. It does not cross into another user’s files or onto the OS filesystem. What it breaks is the per-folder WebDAV-account boundary — the entire reason scoped DAV accounts exist (delegating limited access to a sync client or a third party).

References

  • github.com/advisories/GHSA-w5fv-7x5q-g8qp
  • github.com/cloudreve/cloudreve/releases/tag/4.16.1
  • github.com/cloudreve/cloudreve/security/advisories/GHSA-w5fv-7x5q-g8qp
  • nvd.nist.gov/vuln/detail/CVE-2026-54563

Code Behaviors & Features

Detect and mitigate CVE-2026-54563 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.0.0-20250225100611-da4e44b77af4

Solution

Unfortunately, there is no solution available yet.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/github.com/cloudreve/Cloudreve/v3/CVE-2026-54563.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 10 Sep 2026 00:20:05 +0000.