CVE-2026-121546
ruTorrent before 5.3.20 contains a path traversal vulnerability in the datadir plugin that allows authenticated users to escape the topDirectory jail because c…
Impact
ruTorrent before 5.3.20 contains a path traversal vulnerability in the datadir plugin that allows authenticated users to escape the topDirectory jail because correctDirectory() does not resolve symbolic links. Attackers can submit a datadir path through a symlink under their top directory to create directories and move torrent data to locations writable by the web server or rtorrent.
An attacker can exploit this over the network, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data or systems being changed, low risk of outages.
Affected products · Novik
| Product | Affected versions |
|---|---|
| ruTorrent | before 5.3.20 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/Novik/ruTorrent/issues/3474
- https://github.com/Novik/ruTorrent
- https://github.com/Novik/ruTorrent/commit/2059ff12464b2ce14fd0f53df8d6b19fb6b8a5eb
- https://github.com/Novik/ruTorrent/blob/v5.3.19/plugins/datadir/action.php#L60
- https://github.com/Novik/ruTorrent/blob/v5.3.19/php/settings.php#L526-L541
- https://www.vulncheck.com/advisories/rutorrent-before-5.3.20-path-traversal-via-datadir-plugin-symlink-following
- https://github.com/advisories/GHSA-rh8c-6348-v25w
- https://nvd.nist.gov/vuln/detail/CVE-2026-121546