CVE-2026-124582 · Package
NO FIX YET
WebTorrent, a BitTorrent library for JavaScript, does not properly validate file paths in its getFileModtimes function in torrent.js. A remote attacker can supply a crafted file.path value to read or probe files outside the intended download directory.
first public Nov 9, 2026 · 1 source
Could this affect your app?
Free first check from your website. Connect your repo for the full answer.
Applications that use WebTorrent in Node.js or the browser to download torrent content to disk and handle file paths from torrent metadata. The sources list versions up to 2.8.5 and 3.0.21 as affected, but do not state a fixed version. Projects that do not use WebTorrent can skip this.
Not affected if does-not-use-webtorrent
Who cares javascript, node, webtorrent
npm ls webtorrentwebtorrent in package.json and lockfiles to see whether it is a direct or transitive dependencyNo fix yet, per the sources.
A vulnerability was identified in WebTorrent up to 2.8.5/3.0.21. Affected by this vulnerability is the function getFileModtimes of the file torrent.js of the component File Path Handler. Such manipulation of the argument file.path leads to path traversal. The attack may be performed from remote. The exploit is publicly available and might be used. The reported GitHub issue was closed with the label "not planned".
This page as .md · .json · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Tell InfraStack what you run. It checks this one, and every next one, against your stack.
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.