Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-57079— Net::BitTorrent versions before 2.1.0 for Perl write files outside the download directory via path traversal in peer-supplied metadata

Quick assessment

Affected
SANKO Net::BitTorrent
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Sanko Robinson Net::BitTorrent是Sanko Robinson个人开发者的一个基于现代 Perl(v5.40+)从头重写的高性能 BitTorrent 客户端库,支持 BitTorrent v2、DHT、协议加密等完整功能,且可与任意事件循环集成。 Sanko Robinson Net::BitTorrent 2.0.1及之前版本存在路径遍历漏洞,该漏洞源于对对等体提供的元数据缺乏路径验证,导致路径遍历,可能允许攻击者将文件写入下载目录之外。

AI Predicted 8.1 Difficulty: Easy EPSS 0.40% · P33

Affected Version Matrix 1

VendorProduct Version RangeStatus
SANKO Net::BitTorrent < 2.1.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-57079

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Net::BitTorrent versions before 2.1.0 for Perl write files outside the download directory via path traversal in peer-supplied metadata
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Sanko Robinson Net::BitTorrent 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Sanko Robinson Net::BitTorrent是Sanko Robinson个人开发者的一个基于现代 Perl(v5.40+)从头重写的高性能 BitTorrent 客户端库,支持 BitTorrent v2、DHT、协议加密等完整功能,且可与任意事件循环集成。 Sanko Robinson Net::BitTorrent 2.0.1及之前版本存在路径遍历漏洞,该漏洞源于对对等体提供的元数据缺乏路径验证,导致路径遍历,可能允许攻击者将文件写入下载目录之外。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
SANKO Net::BitTorrent 0 ~ 2.1.0 -

II. Public POCs for CVE-2026-57079

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-57079

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-57079 (1)

Other References for CVE-2026-57079 (1)

Same Patch Batch · SANKO · 2026-06-30 · 4 CVEs total

CVE-2026-57081 Net::BitTorrent versions through 2.1.0 for Perl allow remote memory exhaustion via deeply
CVE-2026-57082 Net::BitTorrent versions before 2.1.0 for Perl generate the MSE Diffie-Hellman private key
CVE-2026-57080 Net::BitTorrent versions through 2.1.0 for Perl allow remote memory exhaustion via an unca

IV. Related Vulnerabilities