Distro News

Ubuntu patches five qBittorrent flaws in 16.04 and 18.04 LTS via ESM

Key Takeaway

Ubuntu's USN-9361-1 backports fixes for five qBittorrent CVEs, including a command-injection bug in the torrent-completion hook and an HTTPS certificate-validation bypass, but only through Ubuntu Pro ESM for the two long-out-of-standard-support releases.

Summary

Ubuntu published security notice USN-9361-1 on 1 December 2026 covering five vulnerabilities in qBittorrent, the libtorrent-rasterbar-based BitTorrent client. The affected releases are Ubuntu 16.04 LTS (xenial) and Ubuntu 18.04 LTS (bionic), both of which are past their standard five-year support windows, so the fixes are delivered as Ubuntu Pro ESM Apps updates rather than through the regular archive. Both the GUI package qbittorrent and the headless qbittorrent-nox package are covered.

The flaws span a decade of the client's history: two Web UI issues from 2017 (cross-site scripting and a missing X-Frame-Options header), a 2019 command-injection bug in the external program run on torrent completion, a 2024 HTTPS certificate-validation bypass, and a 2025 issue where RSS feed and search-result links could reference local files. Patched versions are 3.3.1-1ubuntu0.1~esm1 for xenial and 4.0.3-1ubuntu0.1~esm1 for bionic. Ubuntu notes that a community fix might become publicly available in the future, but for now the updates require an Ubuntu Pro subscription.

What USN-9361-1 fixes in qBittorrent

  • Web UI escaping (CVE-2017-6503, 16.04 only): Values rendered by the qBittorrent Web UI were not properly escaped, allowing a remote attacker to inject script and perform cross-site scripting against users who expose the web interface.
  • Missing X-Frame-Options (CVE-2017-6504, 16.04 only): The Web UI did not emit the X-Frame-Options response header, leaving it embeddable in a third-party frame and open to clickjacking attacks.
  • Command injection on torrent completion (CVE-2019-13640, 18.04 only): Torrent names and tracker addresses were passed unsanitized to the external program configured to run when a torrent finishes, letting a remote attacker execute arbitrary commands on the host.
  • HTTPS certificate validation bypass (CVE-2024-51774): qBittorrent kept using an HTTPS connection after a certificate validation error instead of aborting it, enabling a machine-in-the-middle attacker to intercept traffic.
  • Local file access via RSS and search links (CVE-2025-54310): Links in RSS feeds and search results were not prevented from referencing local files, so a crafted link could make qBittorrent open arbitrary files on the user's system.

Why it matters

The notice is a reminder that qBittorrent's optional Web UI and its torrent-completion hook are the highest-risk surfaces in the client, and that anyone running it headless via qbittorrent-nox on an old LTS host should treat the ESM packages as mandatory. Because 16.04 and 18.04 are past standard support, administrators without Ubuntu Pro receive no fix through normal apt updates, which leaves long-lived seedboxes and download servers exposed to the command-injection and certificate-bypass issues. Upgrading to a supported Ubuntu release, or at minimum enabling ESM Apps, is the practical path to staying patched.

Original reference: ubuntu.com →