๐Ÿ” CVE Alert

CVE-2026-57079

MEDIUM 5.3

Net::BitTorrent versions through 2.0.1 for Perl write files outside the download directory via path traversal in peer-supplied metadata

CVSS Score
5.3
EPSS Score
0.0%
EPSS Percentile
0th

Net::BitTorrent versions through 2.0.1 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.

CWE CWE-22
Vendor sanko
Product net::bittorrent
Published Jun 30, 2026
Last Updated Jun 30, 2026
Stay Ahead of the Next One

Get instant alerts for sanko net::bittorrent

Be the first to know when new medium vulnerabilities affecting sanko net::bittorrent are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

SANKO / Net::BitTorrent
0 โ‰ค 2.0.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/sanko/Net-BitTorrent.pm/security/advisories/GHSA-5wc6-r65f-62rr