CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-54563

CVE-2026-54563: Path Traversal and Incorrect Authorization in Cloudreve WebDAV Component

Alon Barad
Alon Barad
Software Engineer

Aug 26, 2026·5 min read·18 visits

Executive Summary (TL;DR)

Authenticated users with restricted WebDAV credentials can use URL-encoded path traversal sequences to access, read, or modify files outside their designated root directory.

A high-severity path traversal vulnerability in Cloudreve's WebDAV component allows authenticated users with scoped WebDAV credentials to bypass directory containment limits and access unauthorized filesystem areas.

Vulnerability Overview

The WebDAV interface within Cloudreve is designed to permit users to access their files via standard network-attached storage protocols. To restrict sub-users or specific API integrations, Cloudreve allows administrators to generate folder-scoped WebDAV credentials. These credentials represent logical boundaries configured to restrict transactions to a designated directory.

CVE-2026-54563 describes an authorization bypass and logical path traversal flaw in the URL handling mechanisms of this interface. Because the application logic fails to validate that resolved paths remain within the authorized root path, users with restricted folder credentials can access the entire logical file hierarchy of the account holder.

This vulnerability affects all releases of Cloudreve prior to version 4.16.1. Depending on the privilege scope of the credentials (read-only or read-write), an attacker can extract, modify, or delete administrative and personal files stored outside the configured directory.

Root Cause Analysis

The vulnerability stems from an architectural oversight in how WebDAV routing and file path construction interact in pkg/webdav/webdav.go. When an HTTP request is received by the application, Go's standard net/http package processes and normalizes URL-encoded characters in r.URL.Path before dispatching the request to the WebDAV handler. As a result, traversal components like %2e%2e are decoded into standard parent directory characters (..).

The application removes the initial routing prefix /dav using the stripPrefix utility to extract the logical target path suffix. This extracted suffix is joined directly with the user's base WebDAV directory path utilizing the base.JoinRaw(suffix) or fs.URI.JoinRaw(suffix) methodology.

The underlying library implementation of JoinRaw employs standard URI cleaning algorithms, such as url.URL.JoinPath. While this correctly formats and normalizes parent directories, resolving root/subfolder/../target to root/target, it completes the resolution without verifying whether the target remains structurally bounded by the root/subfolder hierarchy. Consequently, the directory hierarchy is escaped dynamically, resulting in an incorrect authorization state mapping to CWE-863.

Code Analysis

The original implementation in pkg/webdav/webdav.go handled path concatenation and logical access mapping as follows:

// VULNERABLE CODE PATH (Pre-4.16.1)
func (fs *FS) ResolvePath(suffix string) (URI, error) {
    // Suffix is joined without verifying boundaries
    targetURI := fs.URI.JoinRaw(suffix)
    return targetURI, nil
}

Because the path resolving mechanism merely performs raw string manipulation and URI cleansing, input strings containing directory traversal components natively break out of the directory schema during logical joining.

The mitigation in version 4.16.1 resolves this flaw by ensuring that the resolved candidate URI is structurally verified against the configured base directory. The patch relies on verifying that the target path is a logical sub-node of the base directory before returning the URI context:

// PATCHED CODE PATH (4.16.1+)
func (fs *FS) ResolvePath(suffix string) (URI, error) {
    candidate := fs.URI.JoinRaw(suffix)
    
    // Verify candidate is within the expected directory boundary
    if !candidate.EqualOrIsDescendantOf(fs.BaseURI, "") {
        return URI{}, ErrForbidden
    }
    return candidate, nil
}

This validation ensures that any decoded traversal sequences that evaluate to paths outside the root directory are caught post-resolution, triggering a termination signal before any OS-level file system or database access attempts occur.

Exploitation Methodology

Exploitation of CVE-2026-54563 requires network access to the WebDAV endpoint and valid credentials for a scoped WebDAV subfolder. An attacker identifies target pathways by estimating directory depths relative to their designated root directory.

To retrieve a file outside the restricted folder, the attacker issues a standard WebDAV PROPFIND or GET request. The URL contains URL-encoded directory traversal symbols to bypass naive blocklists while forcing the internal router to normalize the path:

PROPFIND /dav/%2e%2e/target_document.pdf HTTP/1.1
Host: target-instance.local
Authorization: Basic dXNlcjpwYXNzd29yZA==

When the application processes this request, the prefix is stripped and %2e%2e resolves to ... The logical path resolves to /restricted_folder/../target_document.pdf, yielding /target_document.pdf after cleaning. If the credentials permit write permissions, the attacker can leverage PUT, DELETE, or MOVE methods to overwrite, delete, or relocate files anywhere within the broader logical directory scope of the main account holder.

Data Flow Visualization

The following architecture diagram represents the request flow and shows where the security check fails in vulnerable versions versus where it is caught in patched instances:

In older installations, the absence of the containment check meant that the control flow progressed directly from path resolution to logical file system access.

Impact Assessment

The impact of CVE-2026-54563 is classified as High. The capability is scoped to unauthorized data access and modification within the Cloudreve application sandbox. Since WebDAV permissions correspond to logical file paths, access does not bypass container boundaries or operating system sandboxes unless systemic local integration issues exist.

Within the Cloudreve application, the confidentiality risk is high. Scoped WebDAV users can read sensitive documents, configurations, and assets belonging to parent accounts. If the scoped credentials carry write permissions, integrity is compromised as attackers can rewrite data blocks, rendering storage structures untrusted.

The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog. However, because WebDAV integrations are commonly automated, exposure exposes cloud storage nodes to risk if restricted credentials are split among third-party clients.

Technical Appendix

CVSS Score
7.1/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
EPSS Probability
0.32%
Top 76% most exploited

Affected Systems

Cloudreve
AttributeDetail
CWE IDCWE-863 (Incorrect Authorization)
Attack VectorNetwork (AV:N)
CVSS Score7.1 (High)
EPSS Score0.00315 (Percentile: 23.79%)
ImpactConfidentiality (High), Integrity (Low)
Exploit StatusNone
KEV StatusNot Listed
CWE-863
Incorrect Authorization

Vulnerability Timeline

Fix commit pushed to repository
2026-06-06
GitHub Security Advisory published
2026-07-15

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 1 hour ago•CVE-2026-55649
6.3

CVE-2026-55649: Stored Cross-Site Scripting in GeoNode Document Metadata Abstract Field

CVE-2026-55649 is a stored Cross-Site Scripting (XSS) vulnerability in GeoNode versions prior to 5.0.3. The flaw exists because document abstract metadata fields are ingested via the metadata management pipeline and stored in the backend database without HTML sanitization or input neutralization. An authenticated attacker with privileges to create or edit document metadata can inject arbitrary HTML and JavaScript payloads into these fields. When another user, such as an administrator, views the affected document page or catalog listing, the unencoded payload is rendered into the Document Object Model (DOM) and executes within the victim's browser session.

Amit Schendel
Amit Schendel
1 views•9 min read
•about 2 hours ago•GHSA-QX75-2P3R-PWM5
7.7

CVE-2026-55622: Cross-Project Instance Copy Authorization Bypass in Canonical LXD and LXC Incus

CVE-2026-55622 (GHSA-qx75-2p3r-pwm5) is an improper access control vulnerability (CWE-284) in Canonical LXD and LXC Incus (tracked as GHSA-c9f5-j9c3-mhrg). In multi-tenant deployments utilizing project-based isolation, the REST API handler for instance creation via POST /1.0/instances verifies that the authenticated user has authorization in the destination project specified by the query parameter, but fails to verify whether the user holds read or view permissions for the source instance when executing a copy operation across projects. Consequently, an authenticated client restricted to a single project can clone instances or snapshots from unauthorized projects into their own project, resulting in complete disclosure of the target instance filesystem and embedded credentials.

Amit Schendel
Amit Schendel
3 views•11 min read
•about 3 hours ago•GHSA-7MR3-28H5-M5VX
7.7

GHSA-7mr3-28h5-m5vx: Authorization Bypass and Cross-Project Volume Copy in Canonical LXD

An authorization bypass vulnerability in Canonical LXD (tracked as GHSA-7mr3-28h5-m5vx and CVE-2026-55621, and as GHSA-64f3-v33m-w89f in Linux Containers Incus) allows an authenticated user with restricted project access to copy custom storage volumes and volume snapshots from unauthorized projects. The flaw resides in the storagePoolVolumesPost REST API handler, which verifies permissions on the destination project but fails to check whether the caller holds view entitlements on the source project or volume specified in the request body.

Alon Barad
Alon Barad
3 views•10 min read
•about 4 hours ago•GHSA-47W9-6R3F-938G
9.9

GHSA-47w9-6r3f-938g: Authorization Bypass and Host Root Command Execution in Canonical LXD and Incus

A missing authorization and configuration validation vulnerability in Canonical LXD and LXC Incus allows authenticated users within restricted projects to bypass project security boundaries. By smuggling prohibited low-level configuration directives (such as raw.lxc or raw.qemu) inside instance snapshots or backup archives, an attacker can restore these configurations within a restricted project and execute arbitrary commands with root privileges on the underlying host operating system.

Alon Barad
Alon Barad
4 views•11 min read
•about 5 hours ago•GHSA-JPF8-86F3-WP38
9.9

CVE-2026-48752: Arbitrary Host File Read and Write via Templates Symlink in Canonical LXD and Incus

A symbolic link traversal vulnerability (CWE-59) in Canonical LXD and Linux Containers Incus allows an authenticated user with image import permissions to read and write arbitrary files on the host filesystem. During image archive unpacking, the daemon fails to reject top-level symbolic links for the instance `templates` directory. Subsequent requests to the instance template API endpoints follow this symbolic link outside the instance storage directory with root privileges, enabling complete host compromise.

Amit Schendel
Amit Schendel
4 views•10 min read
•1 day ago•CVE-2026-12411
8.4

CVE-2026-12411: Cross-Guest Volume Hijack via DevLXD Device PATCH in Canonical LXD

CVE-2026-12411 is a broken access control vulnerability in the DevLXD interface of Canonical LXD versions 6.6 through 6.8. The flaw resides in the devLXDInstancePatchHandler component, which fails to verify storage volume ownership when an instance attaches a new disk device via the /dev/lxd guest socket. When the security.devlxd.management.volumes configuration option is enabled, an untrusted guest or DevLXD identity can issue a crafted HTTP PATCH request referencing another tenant's custom storage volume. The LXD host daemon subsequently mounts the target volume into the requesting guest, permitting unauthorized cross-tenant read and write operations.

Amit Schendel
Amit Schendel
7 views•10 min read