Skip to main content
Vulnerability Database/CVE-2025-55295

CVE-2025-55295: qBit Manage Path Traversal Vulnerability

CVE-2025-55295 is a path traversal flaw in qBit Manage that lets authenticated users read arbitrary files from the server filesystem. This post explains its impact, affected versions, and mitigation steps.

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-2025-55295 Overview

CVE-2025-55295 is a path traversal vulnerability in qBit Manage, a tool that automates management tasks for qBittorrent. The flaw resides in the restore_config_from_backup endpoint of the web API. Authenticated users can manipulate the backup_id parameter with directory traversal sequences such as ../ to bypass directory restrictions. This grants read access to arbitrary files on the server filesystem outside the intended backup directory. The issue is tracked as [CWE-22] Improper Limitation of a Pathname to a Restricted Directory. The maintainers fixed the vulnerability in version 4.5.4.

Critical Impact

Authenticated attackers can read arbitrary files from the host filesystem, exposing configuration files, credentials, and sensitive data accessible to the qBit Manage process.

Affected Products

  • qBit Manage versions prior to 4.5.4
  • Deployments exposing the qBit Manage web API to authenticated users
  • Container and bare-metal installations running vulnerable releases

Discovery Timeline

  • 2025-08-19 - CVE CVE-2025-55295 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-55295

Vulnerability Analysis

The vulnerability affects the restore_config_from_backup endpoint in the qBit Manage web API. The endpoint accepts a backup_id parameter that identifies which configuration backup to restore. The application constructs a filesystem path from this parameter without validating or canonicalizing the input. An authenticated attacker supplies traversal sequences such as ../../../etc/passwd as the backup_id value. The server resolves the path outside the intended backup directory and returns the contents of the target file in the restore response.

The impact is limited to confidentiality. The CVSS vector reflects network reachability, low attack complexity, and the need for low-privilege authentication. No user interaction is required, and integrity and availability are not affected by this issue. Review the GitHub Security Advisory GHSA-vh56-26wq-vvfv for additional context.

Root Cause

The root cause is missing input validation on the backup_id parameter. The endpoint concatenates user-controlled input into a filesystem path without rejecting traversal characters or verifying that the resolved path remains within the designated backup directory. This is a classic path traversal pattern mapped to [CWE-22].

Attack Vector

An attacker with valid credentials for the qBit Manage web interface sends an HTTP request to the restore_config_from_backup endpoint. The attacker supplies a backup_id value containing one or more ../ sequences followed by the target file path. The server reads the referenced file and returns its contents. Any file readable by the user account running qBit Manage can be exfiltrated, including application configuration, environment files, SSH keys, and credential stores. See the GitHub Release v4.5.4 notes for the corrected handling logic.

Detection Methods for CVE-2025-55295

Indicators of Compromise

  • HTTP requests to the restore_config_from_backup endpoint containing ../, ..%2f, or encoded traversal sequences in the backup_id parameter.
  • Access log entries showing successful responses from the restore endpoint referencing filenames outside the configured backup directory.
  • qBit Manage reading files such as /etc/passwd, /proc/self/environ, or application secrets that it would not normally access.

Detection Strategies

  • Inspect web proxy and reverse proxy logs for requests to the restore endpoint containing traversal patterns, including URL-encoded and double-encoded variants.
  • Deploy a web application firewall rule that blocks or alerts on traversal sequences in query and body parameters directed at qBit Manage.
  • Correlate authenticated session activity with file access patterns on the host to identify anomalous reads initiated by the qBit Manage process.

Monitoring Recommendations

  • Enable verbose access logging on qBit Manage and ingest logs into a centralized analytics platform for retention and query.
  • Alert on repeated 200-status responses from the restore endpoint that correlate with varying backup_id payloads from the same session.
  • Monitor filesystem audit events for reads of sensitive files by the qBit Manage service account.

How to Mitigate CVE-2025-55295

Immediate Actions Required

  • Upgrade qBit Manage to version 4.5.4 or later, which contains the official fix.
  • Rotate any credentials, API tokens, or keys that may have been accessible to the qBit Manage process account.
  • Restrict network exposure of the qBit Manage web interface to trusted administrative networks or VPN access only.
  • Review authentication logs and access logs for prior exploitation attempts dating back to installation.

Patch Information

The maintainers released the fix in qBit Manage v4.5.4. Operators should upgrade using their standard package or container update workflow. Container deployments should pull the updated image tag and recreate the service.

Workarounds

  • Place qBit Manage behind a reverse proxy that rejects requests containing traversal sequences in parameters.
  • Run the service under a dedicated, least-privileged user account with no read access to sensitive host files.
  • Disable or firewall the web API entirely until the upgrade can be applied.
bash
# Example: upgrade qBit Manage container to the patched release
docker pull ghcr.io/stuffanthings/qbit_manage:v4.5.4
docker stop qbit_manage && docker rm qbit_manage
docker run -d --name qbit_manage \
  --user 1000:1000 \
  -v /opt/qbm/config:/config \
  ghcr.io/stuffanthings/qbit_manage:v4.5.4

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.