Skip to content
Path traversal Advisory Intermediate CVE-2025-46561CVE-2025-46562CVE-2025-46563CVE-2025-46564

GHSL-2024-188_GHSL-2024-191: Several vulnerabilities in Deluge BitTorrent client - CVE-2025-46561, CVE-2025-46562, CVE-2025-46563, CVE-2025-46564

The Deluge WebUI has unauthenticated endpoints that allow path traversal to read arbitrary files (limited by MIME type) and write files (limited to image extensions on Windows), plus an SSRF that leaks the Deluge version. The client also checks for updates over plain HTTP, allowing an attacker to spoof a new version and direct the user to a phishing site.

jarlob Follow

Originally disclosed on GitHub Security Lab

Deluge BitTorrent client supports running two services in background: daemon and WebUI. The other way to run the WebUI service is by enabling the WebUI plugin (installed, but disabled by default) in the preferences dialog of the Deluge client.

jarlob, on GitHub Security Lab

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the web endpoints concatenated user-supplied path segments without proper sanitisation, and the update check used plain HTTP without integrity checks.

Impact

An attacker could read sensitive configuration files (including password hashes) and potentially achieve remote code execution after cracking the password, or spoof an update to trick the user into installing malware; the file write is limited to Windows and image extensions, and the file read is limited to files with a recognised MIME type.

What the attacker needed

Deluge WebUI accessible (locally or externally); For DNS rebinding: victim uses Linux or MacOS; For update spoofing: attacker can intercept HTTP traffic

The fix

The issues were fixed in version 2.2.0.

How it was found

  1. Host the index.html and attack_deluge.html somewhere at same port as victim’s Deluge WebUI instance (8112 by default).
  2. Run WebUI locally.
  3. Open the index.html in a browser on Linux or MacOS.
  4. Modify HostB to the IP of the attacker’s server.
  5. Click Start Attack.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Deluge is a BitTorrent client that can run a web interface. Some web addresses in that interface did not check who was asking, and they let a visitor read files on the computer or make the program fetch other web pages. Also, the program checked for updates over an unencrypted connection, so someone on the network could pretend to be the update server and show a fake download page.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by jarlob

View all

192 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.