ruTorrent before 5.3.20 Path Traversal via datadir Plugin Symlink Following
- State
- Published
- Severity
- 6.0 Medium
- Published
- Nov 3, 2026
- Updated
- Nov 9, 2026
- Reserved
- Nov 3, 2026
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.
| Product | Versions |
|---|---|
| ruTorrent Novik | before 5.3.20 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.0 Medium | VulnCheck | |
| 3.1 | 5.9 Medium | VulnCheck |
Weaknesses
- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
- GitHub Issue #3474Issue Tracker
- https://github.com/Novik/ruTorrentProduct Page
- Fix commitPatch
- https://github.com/Novik/ruTorrent/blob/v5.3.19/plugins/datadir/action.php#L60Technical Details
- https://github.com/Novik/ruTorrent/blob/v5.3.19/php/settings.php#L526-L541Technical Details
- VulnCheck Advisory: ruTorrent before 5.3.20 Path Traversal via datadir Plugin Symlink FollowingThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.