| Título | WebTorrent, LLC WebTorrent ≤2.8.5 Path Traversal |
|---|
| Descrição | There is a path traversal vulnerability in webtorrent library 2.8.5 .The library component treats file.path as a normal file name/path component without validating whether it contains malicious path traversal sequences.. And the import information about this vulnerability is as follows:
Core location: torrent.js
Key code: In getFileModtimes(), the following line is used:
Relevant context: file.path originates from the file list in the .torrent metadata and is therefore attacker-controlled input.
Underlying issue:
Dangerous input: If an attacker sets file.path to a value such as ../../../etc/hosts, the value contains ../ segments that can escape the intended download directory.
Result: path.join(this.path, file.path) may resolve to a path outside the configured download root, allowing access to files outside the expected directory boundary. |
|---|
| Fonte | ⚠️ https://github.com/webtorrent/webtorrent/issues/3012 |
|---|
| Utilizador | xwlin_roy (UID 102282) |
|---|
| Submissão | 21/10/2026 09h24 (há 30 dias) |
|---|
| Moderação | 19/11/2026 22h55 (30 days later) |
|---|
| Estado | Duplicado |
|---|
| Entrada VulDB | 432939 [WebTorrent até 2.8.5/3.0.21 File Path torrent.js getFileModtimes file.path Travessia de Diretório] |
|---|
| Pontos | 0 |
|---|