# CVE-2026-124582: WebTorrent File Path torrent.js getFileModtimes path traversal

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-09T08:30:22.978Z
- Modified: 2026-11-30T16:17:13.680Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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".

(As written by CVE List.)

## Affected

- 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; and 16 more

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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`
- VulDB: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P/RL:X/RC:C`
- VulDB: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N/E:P/RL:X/RC:C`
- VulDB: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N/E:POC/RL:ND/RC:C`

## References

- <https://github.com/webtorrent/webtorrent/issues/3012> (exploit, issue-tracking)
- <https://vuldb.com/vuln/432939> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/432939/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-124582> (third-party-advisory)
- <https://vuldb.com/submit/1039255> (third-party-advisory)
- <https://vuldb.com/submit/1045300> (third-party-advisory)
- <https://vuldb.com/submit/1049341> (third-party-advisory)
- <https://github.com/webtorrent/webtorrent/pull/3046> (issue-tracking, patch)
- <https://github.com/webtorrent/webtorrent/> (product)

## Sources

- CVE List: [CVE-2026-124582](https://www.cve.org/CVERecord?id=CVE-2026-124582), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-124582](https://nvd.nist.gov/vuln/detail/CVE-2026-124582), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-124582 · Whole record: https://cve.day/CVE-2026-124582.json · Rebuilt by cve.day 2026-11-30T16:32:18.797Z
