Path traversal in WebTorrent file path handling
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.
Summary
WebTorrent up to 2.8.5 and up to 3.0.21 contain a path traversal flaw (CWE-22) in the getFileModtimes function of torrent.js. The file.path value is not confined to the intended directory, so a remote attacker can reach files outside it when a user interacts with crafted torrent data. A public exploit is available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-09
Description from the CNA
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".
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | WebTorrent | 2.8.0; 2.8.1; 2.8.2; 2.8.3; 2.8.4; 2.8.5; 3.0.0; 3.0.1; 3.0.2; 3.0.3; 3.0.4; 3.0.5; 3.0.6; 3.0.7; 3.0.8; 3.0.9; 3.0.10; 3.0.11; 3.0.12; 3.0.13; 3.0.14; 3.0.15; 3.0.16; 3.0.17; 3.0.18; 3.0.19; 3.0.20; 3.0.21 | — | No fix listed | CNA |
- WebTorrent Vendor— Affected 2.8.0; 2.8.1; 2.8.2; 2.8.3; 2.8.4; 2.8.5; 3.0.0; 3.0.1; 3.0.2; 3.0.3; 3.0.4; 3.0.5; 3.0.6; 3.0.7; 3.0.8; 3.0.9; 3.0.10; 3.0.11; 3.0.12; 3.0.13; 3.0.14; 3.0.15; 3.0.16; 3.0.17; 3.0.18; 3.0.19; 3.0.20; 3.0.21 Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:webtorrent:webtorrent:*:*:*:*:*:*:*:* | — | — | Webtorrent |
- cpe:2.3:a:webtorrent:webtorrent:*:*:*:*:*:*:*:* Versions — — ·Webtorrent
Remediation
The sources list no fixed version for WebTorrent.
Written with Claude Haiku 5.5 from the sources below · 2026-11-09
Timeline
- 2026-11-09 Threatist record created from CVE-2026-124582
- 2026-11-09 Alias added: GHSA-q97r-7gmj-rv8g
- 2026-11-09 CISA SSVC decision points changed
- 2026-11-09 Priority changed: LOW → MEDIUM
References
Sources
- CVE-2026-124582 · CVE Program
- CVE-2026-124582 · NVD
- FIRST EPSS
- GHSA-q97r-7gmj-rv8g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences