CVE-2026-121546

ruTorrent before 5.3.20 Path Traversal via datadir Plugin Symlink Following

Published Nov 3, 2026 CVSS 4.0 · 6 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

ruTorrent versions before 5.3.20 contain a path traversal flaw in the datadir plugin. The correctDirectory() routine fails to resolve symbolic links, allowing an authenticated user to craft a datadir path that points outside the intended topDirectory jail. By submitting a symlink under their own top directory, the attacker can create directories and move torrent data to locations writable by the web server or rtorrent. This can result in elevated privileges or the ability to overwrite or tamper with torrent data, potentially compromising other users' data or allowing further exploitation. The weakness is identified as CWE-59, a classic path traversal/ directory traversal vulnerability.

Affected Systems

The affected product is ruTorrent, developed by Novik. All releases prior to version 5.3.20 are vulnerable, specifically 5.3.19 and earlier. The vulnerability can be exercised on any installation where an authenticated user has sufficient rights to create symbolic links within their assigned top directory.

Risk and Exploitability

The CVSS score of 6.0 indicates a medium severity. While no EPSS score is reported, the lack of a KEV listing suggests limited publicly known exploitation at the time of analysis. The attack requires authentication and the ability to create symlinks, so it is not a blind remote exploitation vector, but it can impact multiple users on a shared server. An attacker with these prerequisites can leverage the flaw to modify data or potentially elevate privileges through subsequent misuse of legitimate write permissions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ruTorrent version 5.3.20 or later, which removes the symlink following bug.
  • If an immediate upgrade is not possible, restrict the datadir plugin’s write access by configuring the web server or rtorrent to deny writes to directories outside the designated topDirectory.
  • Review and, if necessary, patch the correctDirectory() routine to resolve symbolic links before validating paths, ensuring that any symlinks are properly checked against the topDirectory constraint.

Generated by OpenCVE AI on November 3, 2026 at 16:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Novik
Novik rutorrent
Vendors & Products Novik
Novik rutorrent
Type Values Removed Values Added
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.
Title ruTorrent before 5.3.20 Path Traversal via datadir Plugin Symlink Following
Weaknesses CWE-59
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L'}

cvssV4_0

{'score': 6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 9, 2026, 3:08 PM
Reserved
Nov 3, 2026, 2:46 PM
Status
Deferred
Published
Nov 3, 2026, 4:17 PM
Modified
Nov 9, 2026, 3:17 PM