Veille CVE

‹ Retour à la liste

CVE-2026-57079

5.3 Moyenne

Publiée le 30/06/2026 à 14:16 · Modifiée le 20/07/2026 à 09:16 · Analyse NVD reportée · Source : 9b29abf9-4ab0-4765-b253-1875cd9b441e

Description

Net::BitTorrent versions before 2.1.0 for Perl write files outside the download directory via path traversal in peer-supplied metadata. Net::BitTorrent validates file path components only on the .torrent-file ingest path. The peer and magnet metadata path (_on_metadata_received, reached from the BEP09 ut_metadata extension) passes attacker-supplied file names straight to Storage::add_file and Storage::_parse_file_tree, where Path::Tiny's child() does not collapse "..". A v2 file tree key, a v1 files[].path element, or a single-file name containing ".." segments therefore resolves outside the download directory. Because the peer also controls the piece hashes and the served bytes, content verification passes, so a malicious magnet or peer writes attacker-chosen content to an attacker-chosen path on the downloading host.

Traduire en français

Produits concernés

Scores CVSS

VersionScoreSourceVecteur
3.1 5.3 Moyenne 134c704f-9b21-4f2e-91b3-4a467353bcc0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Faiblesses (CWE)

Références

Ailleurs