{"id":"CVE-2026-35592","published":"2026-04-07T16:11:38Z","modified":"2026-04-08T14:58:21Z","title":"pyLoad has an Incomplete Tar Path Traversal Fix in UnTar._safe_extractall via os.path.commonprefix Bypass","vendor":"pyload","product":"pyload","tier":"tail","description":{"text":"pyLoad is a free and open-source download manager written in Python. Prior to 0.5.0b3.dev97, the _safe_extractall() function in src/pyload/plugins/extractors/UnTar.py uses os.path.commonprefix() for its path traversal check, which performs character-level string comparison rather than path-level comparison. This allows a specially crafted tar archive to write files outside the intended extraction directory. The correct function os.path.commonpath() was added to the codebase in the CVE-2026-32808 fix (commit 5f4f0fa) but was never applied to _safe_extractall(), making this an incomplete fix. This vulnerability is fixed in 0.5.0b3.dev97.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00265,"percentile":0.18788,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/pyload/pyload/security/advisories/GHSA-mvwx-582f-56r7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":3.76},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"pyload","affectedVersions":[{"vendor":"pyload","product":"pyload","versions":["< 0.5.0b3.dev97"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-08T14:58:13.383665Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pyload-ng","vulnerableRanges":["<0.5.0b3.dev97"],"patched":["0.5.0b3.dev97"],"from":["GHSA-mvwx-582f-56r7","PYSEC-2026-124"],"provenance":"source"}],"summary":{"text":"The UnTar extractor in pyLoad, a Python download manager, uses os.path.commonprefix() in its _safe_extractall() function to check for path traversal, which compares strings character by character rather than comparing paths, so the check can be bypassed. An attacker who can get a user to process a specially crafted tar archive in pyLoad, which requires user interaction and no authentication or network position beyond providing the file, can write files outside the intended extraction directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:15:29Z"},"euvd":{"id":"EUVD-2026-19738","exploited":false,"provenance":"source"}}