{"answers":{"affected":"3 open source packages ship an affected version, including pyload-ng. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-35592 exists.","fix":"Upgrade pyload-ng to 0.5.0b3.dev97 or later.","what":"CVE-2026-35592 is a medium-severity path traversal vulnerability in pyload, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-35592 and fix it if it is affected.\n\nWhat it is: CVE-2026-35592 is a medium-severity path traversal vulnerability in pyload, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-35592 exists.\n\nAffected packages and fixed versions:\n- pyload-ng (PyPI): affected all versions; fixed in 0.5.0b3.dev97\n- pyload-ng (PyPI): affected all versions; fixed in 0.5.0b3.dev97\n- pyload-ng (PyPI): affected all versions; fixed in 0.5.0b3.dev97\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-35592/ (Markdown: https://insights.sbomify.com/CVE-2026-35592/index.md)","id":"CVE-2026-35592","markdown":"https://insights.sbomify.com/CVE-2026-35592/index.md","name":"CVE-2026-35592","record":{"aliases":["GHSA-mvwx-582f-56r7","PYSEC-2026-124"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"pyLoad download manager","requires_auth":"none","summary":"Attackers can write files outside the extraction directory in pyLoad due to an incomplete path traversal fix in the tar extractor.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pyload-ng","vendor":"pyload-ng_project"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"pyLoad has an Incomplete Tar Path Traversal Fix in UnTar._safe_extractall via os.path.commonprefix Bypass","id":"CVE-2026-35592","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Trilium Notes has Local File Inclusion via upload modified file API endpoint","id":"CVE-2026-35593"},"packages":[{"ecosystem":"PyPI","fixed":["0.5.0b3.dev97"],"introduced":["0"],"last_affected":[],"package":"pyload-ng","purl":null,"source":"GHSA-mvwx-582f-56r7"},{"ecosystem":"PyPI","fixed":["0.5.0b3.dev97"],"introduced":["0"],"last_affected":[],"package":"pyload-ng","purl":"pkg:pypi/pyload-ng","source":"GHSA-mvwx-582f-56r7"},{"ecosystem":"PyPI","fixed":["0.5.0b3.dev97"],"introduced":["0"],"last_affected":[],"package":"pyload-ng","purl":"pkg:pypi/pyload-ng","source":"PYSEC-2026-124"}],"prev":{"headline":"Possible heap-based buffer overflow when decoding TIFF image containing well-crafted tile","id":"CVE-2026-35591"},"products":["pyload"],"published":"2026-04-07","related":[{"cvss_score":9.8,"headline":"pyLoad CNL Blueprint is vulnerable to Path Traversal through `dlc_path` leading to Remote Code Execution (RCE)","id":"CVE-2025-54802","kev_date_added":null,"published":"2025-08-05"},{"cvss_score":9.7,"headline":"Cross-Site Request Forgery on any API call in pyLoad may lead to admin privilege escalation","id":"CVE-2024-22416","kev_date_added":null,"published":"2024-01-17"},{"cvss_score":9.6,"headline":"Cross-site Scripting (XSS) - Stored in pyload/pyload","id":"CVE-2023-0488","kev_date_added":null,"published":"2023-01-26"},{"cvss_score":9.3,"headline":"pyLoad has SSRF fix bypass via HTTP redirect","id":"CVE-2026-35459","kev_date_added":null,"published":"2026-04-06"},{"cvss_score":8.8,"headline":"pyLoad has Improper Neutralization of Special Elements used in an OS Command","id":"CVE-2026-35463","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":8.8,"headline":"pyload-ng: Authentication Bypass via Host Header Injection in ClickNLoad","id":"CVE-2026-33511","kev_date_added":null,"published":"2026-03-24"},{"cvss_score":8.3,"headline":"pyload-ng: non-admin SETTINGS users can redirect all outbound traffic through an attacker-controlled proxy","id":"CVE-2026-42313","kev_date_added":null,"published":"2026-05-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-08","vendors":["pyload"]},"summary":"Attackers can write files outside the extraction directory in pyLoad due to an incomplete path traversal fix in the tar extractor.","url":"https://insights.sbomify.com/CVE-2026-35592/"}