{"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-40071 exists.","fix":"Upgrade pyload-ng to 0.5.0b3.dev97 or later.","what":"CVE-2026-40071 is a medium-severity missing authorization vulnerability in pyload, published on 9 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40071 and fix it if it is affected.\n\nWhat it is: CVE-2026-40071 is a medium-severity missing authorization vulnerability in pyload, published on 9 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40071 exists.\n\nAffected packages and fixed versions:\n- pyload-ng (PyPI): affected all versions up to 0.5.0b3; no fix listed\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-40071/ (Markdown: https://insights.sbomify.com/CVE-2026-40071/index.md)","id":"CVE-2026-40071","markdown":"https://insights.sbomify.com/CVE-2026-40071/index.md","name":"CVE-2026-40071","record":{"aliases":["GHSA-rfgh-63mg-8pwm","PYSEC-2026-2997"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"pyLoad download manager","requires_auth":"low_privilege","summary":"Authenticated low-privileged users can bypass permission checks to modify download packages and links via WebUI JSON endpoints.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pyload","vendor":"pyload"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"pyLoad is a free and open-source download manager written in Python. Prior to 0.5.0b3.dev97, the /json/package_order, /json/link_order, and /json/abort_link WebUI JSON endpoints enforce weaker permissions than the core API methods they invoke. This allows authenticated low-privileged users to execute MODIFY operations that should be denied by pyLoad's own permission model. 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 WebUI JSON permission mismatch lets ADD/DELETE users invoke MODIFY-only actions","id":"CVE-2026-40071","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"web3.py affected by SSRF via CCIP Read (EIP-3668) OffchainLookup URL handling","id":"CVE-2026-40072"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.5.0b3"],"package":"pyload-ng","purl":"pkg:pypi/pyload-ng","source":"PYSEC-2026-2997"},{"ecosystem":"PyPI","fixed":["0.5.0b3.dev97"],"introduced":["0"],"last_affected":[],"package":"pyload-ng","purl":null,"source":"GHSA-rfgh-63mg-8pwm"},{"ecosystem":"PyPI","fixed":["0.5.0b3.dev97"],"introduced":["0"],"last_affected":[],"package":"pyload-ng","purl":"pkg:pypi/pyload-ng","source":"GHSA-rfgh-63mg-8pwm"}],"prev":{"headline":"bsv-sdk and bsv-wallet persist unverified certifier signatures in acquire_certificate (direct and issuance paths)","id":"CVE-2026-40070"},"products":["pyload"],"published":"2026-04-09","related":[{"cvss_score":9.8,"headline":"Code Injection in pyload/pyload","id":"CVE-2023-0297","kev_date_added":null,"published":"2023-01-14"},{"cvss_score":9.3,"headline":"pyLoad: Server-Side Request Forgery via Download Link Submission Enables Cloud Metadata Exfiltration","id":"CVE-2026-33992","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":9.1,"headline":"pyLoad vulnerable to remote code execution by download to /.pyload/scripts using /flashgot API","id":"CVE-2024-47821","kev_date_added":null,"published":"2024-10-25"},{"cvss_score":9.1,"headline":"pyLoad allows upload to arbitrary folder lead to RCE","id":"CVE-2024-32880","kev_date_added":null,"published":"2024-04-26"},{"cvss_score":8.8,"headline":"pyLoad has Stale Session Privilege After Role/Permission Change (Privilege Revocation Bypass)","id":"CVE-2026-41133","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.8,"headline":"Download to arbitrary folder can lead to RCE","id":"CVE-2023-47890","kev_date_added":null,"published":"2024-01-08"},{"cvss_score":8.3,"headline":"Insufficient Session Expiration in pyload/pyload","id":"CVE-2023-0227","kev_date_added":null,"published":"2023-01-12"}],"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-10","vendors":["pyload"]},"summary":"Authenticated low-privileged users can bypass permission checks to modify download packages and links via WebUI JSON endpoints.","url":"https://insights.sbomify.com/CVE-2026-40071/"}