USN-9361-1: qBittorrent vulnerabilities

Published Dec 1, 2026
·
Updated

It was discovered that the Web UI in qBittorrent did not properly escape certain values. A remote attacker could possibly use this issue to perform cross-site scripting attacks. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-6503) It was discovered that the Web UI in qBittorrent did not set the X-Frame-Options header. A remote attacker could possibly use this issue to perform clickjacking attacks. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-6504) It was discovered that qBittorrent did not properly sanitize torrent names and tracker addresses passed to the external program run on torrent completion. A remote attacker could possibly use this issue to execute arbitrary commands. This issue only affected Ubuntu 18.04 LTS. (CVE-2019-13640) It was discovered that qBittorrent continued to use HTTPS connections after certificate validation errors. A remote attacker could possibly use this issue to perform a machine-in-the-middle attack. (CVE-2024-51774) It was discovered that qBittorrent did not prevent links in RSS feeds and search results from referencing local files. If a user were tricked into opening a specially crafted link, an attacker could possibly use this issue to cause qBittorrent to open arbitrary local files. (CVE-2025-54310)

Affected Software

8 affected componentsFixes available
All of the following
ubuntu/qbittorrent<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/qbittorrent-nox<Ubuntu Pro
Ubuntu Pro
Ubuntu Ubuntu=18.04
All of the following
ubuntu/qbittorrent<3.3.1-1ubuntu0.1~esm1
3.3.1-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04
All of the following
ubuntu/qbittorrent-nox<3.3.1-1ubuntu0.1~esm1
3.3.1-1ubuntu0.1~esm1
Ubuntu Ubuntu=16.04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/qbittorrent to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  2. Upgrade

    Upgrade ubuntu/qbittorrent-nox to a version that resolves this vulnerability.

    Fixed in Ubuntu Pro
  3. Upgrade

    Upgrade ubuntu/qbittorrent to a version that resolves this vulnerability.

    Fixed in 3.3.1-1ubuntu0.1~esm1
  4. Upgrade

    Upgrade ubuntu/qbittorrent-nox to a version that resolves this vulnerability.

    Fixed in 3.3.1-1ubuntu0.1~esm1

Event History

Dec 1, 2026
Advisory Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which Ubuntu releases are explicitly identified as affected by the Web UI issues and the command-execution issue?

The cross-site scripting and clickjacking issues, CVE-2017-6503 and CVE-2017-6504, only affected Ubuntu 16.04 LTS. The torrent-completion command-execution issue, CVE-2019-13640, only affected Ubuntu 18.04 LTS.

2

When is the command-execution issue relevant in practice?

It is relevant when qBittorrent passes torrent names or tracker addresses to an external program configured to run after torrent completion. Those values were not properly sanitized, allowing a remote attacker to possibly execute arbitrary commands.

3

What user interaction is required for the local-file link issue?

A user must be tricked into opening a specially crafted link originating from an RSS feed or search result. The issue exists because such links were not prevented from referencing local files.

4

What attacker position is needed for the HTTPS certificate-validation issue?

An attacker would need to be able to act as a machine in the middle of the HTTPS connection. qBittorrent could continue using HTTPS connections after certificate validation errors, enabling a possible machine-in-the-middle attack.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203