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

Status: published. Published: 2026-11-09. Updated: 2026-11-09.

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

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulDB) — https://github.com/webtorrent/webtorrent/pull/3046

## Affected products and versions

- n/a / WebTorrent: 2.8.0 (affected); 2.8.1 (affected); 2.8.2 (affected); 2.8.3 (affected); 2.8.4 (affected); 2.8.5 (affected); 3.0.0 (affected); 3.0.1 (affected); 3.0.2 (affected); 3.0.3 (affected); 3.0.4 (affected); 3.0.5 (affected); 3.0.6 (affected); 3.0.7 (affected); 3.0.8 (affected); 3.0.9 (affected); 3.0.10 (affected); 3.0.11 (affected); 3.0.12 (affected); 3.0.13 (affected); 3.0.14 (affected); 3.0.15 (affected); 3.0.16 (affected); 3.0.17 (affected); 3.0.18 (affected); 3.0.19 (affected); 3.0.20 (affected); 3.0.21 (affected). Source: CNA: VulDB

## Severity and prioritization

- 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; source: CNA: 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; source: CNA: 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; source: CNA: VulDB

- CVSS 2.0: 5 (medium); AV:N/AC:L/Au:N/C:P/I:N/A:N/E:POC/RL:ND/RC:C; source: CNA: VulDB

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-22

## Exploit evidence

- exploit: https://github.com/webtorrent/webtorrent/issues/3012 (CNA: VulDB)

## References

- https://vuldb.com/vuln/432939 (CNA: VulDB; vdb-entry, technical-description)

- https://vuldb.com/vuln/432939/cti (CNA: VulDB; signature, permissions-required)

- https://vuldb.com/cve/CVE-2026-124582 (CNA: VulDB; third-party-advisory)

- https://vuldb.com/submit/1039255 (CNA: VulDB; third-party-advisory)

- https://github.com/webtorrent/webtorrent/issues/3012 (CNA: VulDB; exploit, issue-tracking)

- https://github.com/webtorrent/webtorrent/pull/3046 (CNA: VulDB; issue-tracking, patch)

- https://github.com/webtorrent/webtorrent/ (CNA: VulDB; product)

## Provenance

- CNA: VulDB: https://www.cve.org/CVERecord?id=CVE-2026-124582; retrieved 2026-11-09; source updated 2026-11-09

Revision: ae26370704e471233c7fab63dccbc3997e3a3303c6f57ab36c5ef2634a43df80

Canonical: https://y2.dev/cve/CVE-2026-124582

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.