{"id":"CVE-2026-124582","summary":"WebTorrent File Path torrent.js getFileModtimes path traversal","details":"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\".","modified":"2026-12-01T20:46:04.430475858Z","published":"2026-11-09T08:30:22.978Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124582.json","cna_assigner":"VulDB","cwe_ids":["CWE-22"]},"references":[{"type":"WEB","url":"https://github.com/webtorrent/webtorrent/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124582.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124582"},{"type":"ADVISORY","url":"https://vuldb.com/cve/CVE-2026-124582"},{"type":"ADVISORY","url":"https://vuldb.com/submit/1039255"},{"type":"ADVISORY","url":"https://vuldb.com/submit/1045300"},{"type":"ADVISORY","url":"https://vuldb.com/submit/1049341"},{"type":"ADVISORY","url":"https://vuldb.com/vuln/432939"},{"type":"REPORT","url":"https://github.com/webtorrent/webtorrent/issues/3012"},{"type":"REPORT","url":"https://vuldb.com/vuln/432939/cti"},{"type":"FIX","url":"https://github.com/webtorrent/webtorrent/pull/3046"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/webtorrent/webtorrent","events":[{"introduced":"fc5b31279499e87fb14386ed4f1e78e2489af24c"},{"last_affected":"e75f75c7ac6b755c2eb36842c51806da8ff560ff"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"2.8.0"},{"last_affected":"2.8.0"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"2.8.1"},{"last_affected":"2.8.1"}]},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2.8.2"},{"last_affected":"2.8.2"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"2.8.3"},{"last_affected":"2.8.3"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"introduced":"2.8.4"},{"last_affected":"2.8.4"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"2.8.5"},{"last_affected":"2.8.5"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.0"},{"last_affected":"3.0.0"}]},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.1"},{"last_affected":"3.0.1"}]},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.2"},{"last_affected":"3.0.2"}]},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.3"},{"last_affected":"3.0.3"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.4"},{"last_affected":"3.0.4"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.5"},{"last_affected":"3.0.5"}]},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.6"},{"last_affected":"3.0.6"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.7"},{"last_affected":"3.0.7"}],"source":"AFFECTED_FIELD"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.8"},{"last_affected":"3.0.8"}]},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.9"},{"last_affected":"3.0.9"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"3.0.10"},{"last_affected":"3.0.10"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.11"},{"last_affected":"3.0.11"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.12"},{"last_affected":"3.0.12"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.13"},{"last_affected":"3.0.13"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"3.0.14"},{"last_affected":"3.0.14"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"introduced":"3.0.15"},{"last_affected":"3.0.15"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.16"},{"last_affected":"3.0.16"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.17"},{"last_affected":"3.0.17"}],"source":"AFFECTED_FIELD"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.18"},{"last_affected":"3.0.18"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"3.0.19"},{"last_affected":"3.0.19"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"3.0.20"},{"last_affected":"3.0.20"}]},{"range":[{"introduced":"3.0.21"},{"last_affected":"3.0.21"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"range":[{"introduced":"0"},{"last_affected":"2.8.5"}],"source":"DESCRIPTION"}]}}],"versions":["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.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.2","3.0.20","3.0.21","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","v3.0.21","v3.0.20","v3.0.19","v3.0.18","v3.0.17","v3.0.16","v3.0.15","v3.0.14","v3.0.13","v3.0.12","v3.0.11","v3.0.10","v3.0.9","v3.0.8","v3.0.7","v3.0.6","v3.0.5","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.8.5","v2.8.4","v2.8.3","v2.8.2","v2.8.1","v2.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-124582.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}