/

CVE-2026-116191

Severity:

HIGH RISK

(7.5)

Path Traversal (CWE-22) in Rclone WebDAV Server Endpoint

CVE-2026-116191

Analyzed

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22

Impact:

Unauthorized Cross-Tenant File Modification

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Rclone's WebDAV serving mode contains a path traversal vulnerability that permits unauthenticated attackers to escape the configured served root by supplying an unvalidated parent-directory component.

Successful exploitation may allow attackers to create, overwrite, or delete files belonging to other tenants when the affected service is exposed and shared storage is used.

Rclone's WebDAV serving mode contains a path traversal vulnerability that permits unauthenticated attackers to escape the configured served root by supplying an unvalidated parent-directory component.

Successful exploitation may allow attackers to create, overwrite, or delete files belonging to other tenants when the affected service is exposed and shared storage is used.

Affected context

The issue occurs in Rclone deployments using the WebDAV serving functionality when request paths are not adequately constrained to the configured served root. Risk is higher where the service is reachable without authentication and multiple tenants or storage namespaces share the same underlying filesystem or virtual filesystem.

The issue occurs in Rclone deployments using the WebDAV serving functionality when request paths are not adequately constrained to the configured served root. Risk is higher where the service is reachable without authentication and multiple tenants or storage namespaces share the same underlying filesystem or virtual filesystem.

Exploit preconditions

  • Attack surface: Rclone WebDAV request handling
  • Required access: Network access to the WebDAV service; authentication may not be required
  • Trigger point: A WebDAV request containing a parent-directory path component
  • Why exploitation is possible: Path validation permits traversal above the served root, allowing subsequent file operations to address objects outside the intended namespace
  • Attack surface: Rclone WebDAV request handling
  • Required access: Network access to the WebDAV service; authentication may not be required
  • Trigger point: A WebDAV request containing a parent-directory path component
  • Why exploitation is possible: Path validation permits traversal above the served root, allowing subsequent file operations to address objects outside the intended namespace

Why this happens

The vulnerability results from insufficient canonicalization and boundary validation of user-controlled WebDAV paths.

When a path containing a parent-directory component is accepted without confirming that its resolved location remains within the configured root, an attacker can escape the intended directory boundary. This is a CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') condition.

The vulnerability results from insufficient canonicalization and boundary validation of user-controlled WebDAV paths.

When a path containing a parent-directory component is accepted without confirming that its resolved location remains within the configured root, an attacker can escape the intended directory boundary. This is a CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') condition.

Potential impact

  • Attackers may create files outside the served root
  • Existing files may be overwritten or deleted
  • Data belonging to other tenants could be modified or disrupted
  • Malicious files may be planted for later execution or processing
  • The affected storage service could experience integrity or availability impacts
  • Attackers may create files outside the served root
  • Existing files may be overwritten or deleted
  • Data belonging to other tenants could be modified or disrupted
  • Malicious files may be planted for later execution or processing
  • The affected storage service could experience integrity or availability impacts

General mitigation guidance

Mitigation generally focuses on enforcing a strict filesystem and tenant boundary for every WebDAV operation.

Common defensive patterns include:

  • Canonicalizing requested paths before authorization and filesystem access
  • Rejecting parent-directory components and equivalent encoded traversal forms
  • Verifying that resolved paths remain beneath the configured served root
  • Applying the same boundary checks to create, move, copy, and delete operations
  • Separating tenant storage namespaces and reducing shared filesystem access
  • Requiring authentication and enforcing least-privilege write permissions
  • Using secure-by-default configurations that do not expose writable WebDAV roots unnecessarily

Mitigation generally focuses on enforcing a strict filesystem and tenant boundary for every WebDAV operation.

Common defensive patterns include:

  • Canonicalizing requested paths before authorization and filesystem access
  • Rejecting parent-directory components and equivalent encoded traversal forms
  • Verifying that resolved paths remain beneath the configured served root
  • Applying the same boundary checks to create, move, copy, and delete operations
  • Separating tenant storage namespaces and reducing shared filesystem access
  • Requiring authentication and enforcing least-privilege write permissions
  • Using secure-by-default configurations that do not expose writable WebDAV roots unnecessarily

How teams detect issues like this

Organizations can look for path traversal risks through:

  • Static analysis of path joins, normalization, and filesystem calls involving request-controlled values
  • Code review signals such as authorization checks performed before canonicalization or checks applied only to read operations
  • Dynamic testing with normalized, encoded, and alternate parent-directory path representations
  • WebDAV access-log monitoring for unusual traversal components and unexpected MKCOL, PUT, MOVE, or COPY activity
  • Policy enforcement requiring root-boundary validation and tenant-isolation tests in CI pipelines

Automated security scanning and code review tools may help identify unsafe path handling patterns, but should be supplemented with targeted integration tests.

Organizations can look for path traversal risks through:

  • Static analysis of path joins, normalization, and filesystem calls involving request-controlled values
  • Code review signals such as authorization checks performed before canonicalization or checks applied only to read operations
  • Dynamic testing with normalized, encoded, and alternate parent-directory path representations
  • WebDAV access-log monitoring for unusual traversal components and unexpected MKCOL, PUT, MOVE, or COPY activity
  • Policy enforcement requiring root-boundary validation and tenant-isolation tests in CI pipelines

Automated security scanning and code review tools may help identify unsafe path handling patterns, but should be supplemented with targeted integration tests.

Sources

SourceLink
github.comgithub.com/rclone/rclone/security/advisories/GHSA-44pm-2q5p-fm63
vulncheck.comvulncheck.com/advisories/rclone-before-1.75.2-path-traversal-via-serve-webdav-mkcol

Frequently asked

questions

Yes. It can be remotely exploitable when the Rclone WebDAV service is network-accessible and accepts the relevant WebDAV requests. The described behavior does not require an authenticated account.

The attacker generally needs network reachability to the WebDAV endpoint. Exploitation is most consequential when the endpoint permits write operations and serves storage shared by multiple tenants.

Enforce canonical path resolution and verify that every resolved target remains within the configured served root before performing any file operation. Apply the check consistently to reads, writes, moves, copies, and deletions.

Treat request paths as untrusted input, reject traversal and equivalent encoded forms, isolate tenant storage, require authentication where appropriate, and test filesystem-boundary enforcement as part of security validation.

Yes. It can be remotely exploitable when the Rclone WebDAV service is network-accessible and accepts the relevant WebDAV requests. The described behavior does not require an authenticated account.

The attacker generally needs network reachability to the WebDAV endpoint. Exploitation is most consequential when the endpoint permits write operations and serves storage shared by multiple tenants.

Enforce canonical path resolution and verify that every resolved target remains within the configured served root before performing any file operation. Apply the check consistently to reads, writes, moves, copies, and deletions.

Treat request paths as untrusted input, reject traversal and equivalent encoded forms, isolate tenant storage, require authentication where appropriate, and test filesystem-boundary enforcement as part of security validation.

Find out what's already
exploitable in your codebase.