cbcvebase.
CVE-2019-13640
published 2019-07-17

CVE-2019-13640: In qBittorrent before 4.1.7, the function Application::runExternalProgram() located in app/application.cpp allows command injection via shell metacharacters in…

PriorityP259critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
7.91%
94.0th percentile
In qBittorrent before 4.1.7, the function Application::runExternalProgram() located in app/application.cpp allows command injection via shell metacharacters in the torrent name parameter or current tracker parameter, as demonstrated by remote command execution via a crafted name within an RSS feed.

Affected

6 ranges
VendorProductVersion rangeFixed in
debianqbittorrent< qbittorrent 4.1.7-1 (bookworm)qbittorrent 4.1.7-1 (bookworm)
qbittorrentqbittorrent< 4.1.74.1.7
qbittorrentqbittorrent>= 0 < 4.1.7-14.1.7-1
qbittorrentqbittorrent>= 0 < 4.1.7-14.1.7-1
qbittorrentqbittorrent>= 0 < 4.1.7-14.1.7-1
qbittorrentqbittorrent>= 0 < 4.1.7-14.1.7-1

Detection & IOCsextracted from sources · hover to see the quote

  • Command injection occurs in Application::runExternalProgram() via shell metacharacters in the torrent name parameter or current tracker parameter
  • Remote code execution can be triggered via a crafted torrent name embedded within an RSS feed — monitor RSS feed ingestion in qBittorrent for anomalous shell metacharacters in torrent names
  • Vulnerable code path is in app/application.cpp — focus file integrity monitoring and code audits on this file in qBittorrent installations prior to 4.1.7
  • ·Vulnerability only affects qBittorrent versions before 4.1.7; fixed in 4.1.7-1 across Debian (bookworm, bullseye, forky, sid, trixie) and Fedora/EPEL packages
  • ·The attack surface requires the 'Run external program on torrent completion' feature to be enabled in qBittorrent settings; shell metacharacters in torrent name or tracker parameter are passed unsanitized to the shell

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.