Skip to main content
Vulnerability Database/CVE-2026-109118

CVE-2026-109118: rdiffweb Path Traversal Vulnerability

CVE-2026-109118 is a path traversal flaw in ikus060 rdiffweb 7.1.1 that allows authenticated users to access files outside intended directories through percent-encoded sequences. This article covers technical details, impact analysis, and remediation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-109118 Overview

CVE-2026-109118 is a path traversal vulnerability [CWE-22] in ikus060 rdiffweb version 7.1.1, a web interface for browsing and restoring rdiff-backup repositories. An authenticated user can submit a percent-encoded traversal sequence (%2e%2e) in the request path to make the browse, restore, history, and delete operations resolve to a path outside the intended repository. The root cause is a containment check that relies on a string prefix comparison (startswith) instead of a filesystem path boundary check. Exploitation requires that the target be a sibling path whose name begins with the repository path and that the user already hold permissions on it.

Critical Impact

An authenticated user can be misled into browsing, restoring from, or deleting a sibling repository rather than the one displayed in the interface, resulting in limited integrity and availability impact to backup data.

Affected Products

  • ikus060 rdiffweb 7.1.1
  • Deployments exposing the rdiffweb web interface to authenticated users
  • Multi-tenant rdiffweb instances where users hold permissions on multiple sibling repositories

Discovery Timeline

  • 2026-10-16 - CVE-2026-109118 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-109118

Vulnerability Analysis

The vulnerability affects the request-path handling logic that routes browse, restore, history, and delete operations to a specific repository on disk. rdiffweb validates that the resolved path belongs to the current repository by calling a string startswith check against the repository path. This check is not equivalent to a filesystem boundary check and treats sibling directories whose names share a common prefix as if they were contained within the repository. An authenticated user can inject a percent-encoded .. sequence (%2e%2e) in the request path to cross the directory boundary while still passing the prefix comparison.

The practical result is that an operation displayed as targeting repository /backups/project can resolve to /backups/project-archive or a similar sibling path. Because the user must already hold permissions on the sibling target, the issue does not grant access to arbitrary data. It instead misleads the user into acting on the wrong dataset, including destructive delete operations.

Root Cause

The containment check uses path.startswith(repository_path) rather than a filesystem-aware comparison such as resolving both paths and verifying parent-child relationships. Prefix comparison is semantically weaker than path containment because /backups/project is a string prefix of /backups/project-archive, yet the two refer to distinct filesystem entities. The decoder also normalizes %2e%2e into .. after the containment context has been established, allowing traversal to bypass the intended boundary.

Attack Vector

Exploitation requires network access to the rdiffweb interface and valid authenticated credentials with user-level privileges. The attacker crafts a URL to a browse, restore, history, or delete endpoint and inserts %2e%2e segments to redirect the resolved path toward a sibling repository on which they already have permissions. User interaction is required because the attacker typically needs the victim or themselves to trigger an operation that acts on misidentified data. The vulnerability does not permit arbitrary file access outside directories the user already controls.

See the GitLab Commit Details for the upstream fix.

Detection Methods for CVE-2026-109118

Indicators of Compromise

  • HTTP request paths to rdiffweb endpoints containing the percent-encoded sequence %2e%2e or mixed-case variants such as %2E%2e
  • Unexpected delete, restore, or browse activity logged against a repository different from the one referenced in the user interface session
  • Access-log entries where the URL-decoded path crosses the repository root directory

Detection Strategies

  • Alert on web server access logs where rdiffweb URLs contain %2e%2e, %2E%2E, ..%2f, or similar encoded traversal patterns
  • Correlate rdiffweb audit events for delete or restore with the resolved on-disk path and flag mismatches with the repository shown in the request referrer
  • Baseline normal repository-access patterns per user and surface operations that touch sibling repositories with name-prefix overlap

Monitoring Recommendations

  • Enable verbose request logging on the rdiffweb reverse proxy to capture full URL paths before URL decoding
  • Monitor the rdiffweb application log for destructive operations and alert on unexpected target paths
  • Review filesystem audit records for rdiff-backup repository directories to identify deletions that do not correspond to legitimate workflows

How to Mitigate CVE-2026-109118

Immediate Actions Required

  • Upgrade rdiffweb to a version that includes the upstream fix referenced in GitLab commit 04b7096566811feb7d782e38560b44044fa91a29
  • Audit recent delete, restore, and browse operations on multi-tenant rdiffweb instances for signs of misdirected activity
  • Restrict rdiffweb network exposure to trusted users while patching is in progress

Patch Information

The upstream project has committed a fix in the rdiffweb repository. Review the GitLab Commit Details and the tracking issues Work Item #392, Work Item #393, and Work Item #394. Deploy the patched release from the rdiffweb project repository.

Workarounds

  • Place a reverse proxy rule in front of rdiffweb that rejects requests containing %2e%2e, %2E%2E, or decoded .. segments in the path
  • Avoid creating sibling repository directories whose names share a common string prefix, which eliminates the precondition for exploitation
  • Reduce the number of users with cross-repository permissions until the patched version is deployed
bash
# Example nginx rule to block encoded traversal sequences in rdiffweb URLs
location /rdiffweb/ {
    if ($request_uri ~* "(%2e%2e|%2E%2E|\.\./)") {
        return 400;
    }
    proxy_pass http://rdiffweb_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.