{"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-2025-54802 exists.","fix":"Upgrade pyload-ng to 0.5.0b3.dev90 or later.","what":"CVE-2025-54802 is a critical path traversal vulnerability in pyload, published on 5 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-54802 and fix it if it is affected.\n\nWhat it is: CVE-2025-54802 is a critical path traversal vulnerability in pyload, published on 5 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-54802 exists.\n\nAffected packages and fixed versions:\n- pyload-ng (PyPI): affected all versions; fixed in 0.5.0b3.dev90\n- pyload-ng (PyPI): affected all versions; fixed in 0.5.0b3.dev90\n- pyload-ng (PyPI): affected all versions; fixed in 0.5.0b3.dev90\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-2025-54802/ (Markdown: https://insights.sbomify.com/CVE-2025-54802/index.md)","id":"CVE-2025-54802","markdown":"https://insights.sbomify.com/CVE-2025-54802/index.md","name":"CVE-2025-54802","record":{"aliases":["GHSA-48rp-jc79-2264","PYSEC-2026-493"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"pyLoad download manager","requires_auth":"none","summary":"Unauthenticated attackers can exploit a path traversal flaw in pyLoad to write arbitrary files, leading to remote code execution and privilege escalation.","user_interaction":"not_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":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"pyLoad is the free and open-source Download Manager written in pure Python. In versions 0.5.0b3.dev89 and below, there is an opportunity for path traversal in pyLoad-ng CNL Blueprint via package parameter, allowing Arbitrary File Write which leads to Remote Code Execution (RCE). The addcrypted endpoint in pyload-ng suffers from an unsafe path construction vulnerability, allowing unauthenticated attackers to write arbitrary files outside the designated storage directory. This can be abused to overwrite critical system files, including cron jobs and systemd services, leading to privilege escalation and remote code execution as root. This issue is fixed in version 0.5.0b3.dev90.","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 CNL Blueprint is vulnerable to Path Traversal through `dlc_path` leading to Remote Code Execution (RCE)","id":"CVE-2025-54802","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":3,"n_references":3,"next":{"headline":"js-toml is vulnerable to Prototype Pollution","id":"CVE-2025-54803"},"packages":[{"ecosystem":"PyPI","fixed":["0.5.0b3.dev90"],"introduced":["0"],"last_affected":[],"package":"pyload-ng","purl":null,"source":"GHSA-48rp-jc79-2264"},{"ecosystem":"PyPI","fixed":["0.5.0b3.dev90"],"introduced":["0"],"last_affected":[],"package":"pyload-ng","purl":"pkg:pypi/pyload-ng","source":"GHSA-48rp-jc79-2264"},{"ecosystem":"PyPI","fixed":["0.5.0b3.dev90"],"introduced":["0"],"last_affected":[],"package":"pyload-ng","purl":"pkg:pypi/pyload-ng","source":"PYSEC-2026-493"}],"prev":{"headline":"Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder","id":"CVE-2025-54801"},"products":["pyload"],"published":"2025-08-05","related":[{"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-08-05","vendors":["pyload"]},"summary":"Unauthenticated attackers can exploit a path traversal flaw in pyLoad to write arbitrary files, leading to remote code execution and privilege escalation.","url":"https://insights.sbomify.com/CVE-2025-54802/"}