{"id":"CVE-2026-121546","published":"2026-11-03T16:17:26.207","lastModified":"2026-11-03T16:30:49.290","description":"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.","cvssScore":5.9,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L","cwes":["CWE-59"],"vendors":[],"products":[],"references":[{"url":"https://github.com/Novik/ruTorrent","tags":[]},{"url":"https://github.com/Novik/ruTorrent/blob/v5.3.19/php/settings.php#L526-L541","tags":[]},{"url":"https://github.com/Novik/ruTorrent/blob/v5.3.19/plugins/datadir/action.php#L60","tags":[]},{"url":"https://github.com/Novik/ruTorrent/commit/2059ff12464b2ce14fd0f53df8d6b19fb6b8a5eb","tags":[]},{"url":"https://github.com/Novik/ruTorrent/issues/3474","tags":[]},{"url":"https://www.vulncheck.com/advisories/rutorrent-before-5.3.20-path-traversal-via-datadir-plugin-symlink-following","tags":[]}],"exploitRefs":[{"url":"https://github.com/Novik/ruTorrent","tags":[]},{"url":"https://github.com/Novik/ruTorrent/blob/v5.3.19/php/settings.php#L526-L541","tags":[]},{"url":"https://github.com/Novik/ruTorrent/blob/v5.3.19/plugins/datadir/action.php#L60","tags":[]},{"url":"https://github.com/Novik/ruTorrent/commit/2059ff12464b2ce14fd0f53df8d6b19fb6b8a5eb","tags":[]},{"url":"https://github.com/Novik/ruTorrent/issues/3474","tags":[]}],"hasPoc":true,"ai":null}