{"answers":{"affected":"3 open source packages ship an affected version, including pyload-ng. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-22416 in the wild and no public exploit code.","fix":"Upgrade pyload-ng to 0.5.0b3.dev78 or later.","what":"CVE-2024-22416 is a critical vulnerability in pyload, published on 17 Jan 2024. 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-2024-22416 and fix it if it is affected.\n\nWhat it is: CVE-2024-22416 is a critical vulnerability in pyload, published on 17 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-22416 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pyload-ng (PyPI): affected all versions; fixed in 0.5.0b3.dev78\n- pyload-ng (PyPI): affected all versions; fixed in 0.5.0b3.dev78\n- pyload-ng (PyPI): affected all versions; fixed in 0.5.0b3.dev78\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-2024-22416/ (Markdown: https://insights.sbomify.com/CVE-2024-22416/index.md)","id":"CVE-2024-22416","markdown":"https://insights.sbomify.com/CVE-2024-22416/index.md","name":"CVE-2024-22416","record":{"aliases":["GHSA-pgpj-v85q-h5fm","PYSEC-2024-17"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"pyLoad download manager","requires_auth":"none","summary":"Unauthenticated attackers can perform CSRF attacks on pyLoad API calls to escalate privileges due to missing SameSite cookie restrictions.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pyload-ng","vendor":"pyload-ng_project"}],"cvss":{"score":9.7,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"pyLoad is a free and open-source Download Manager written in pure Python. The `pyload` API allows any API call to be made using GET requests. Since the session cookie is not set to `SameSite: strict`, this opens the library up to severe attack possibilities via a Cross-Site Request Forgery (CSRF) attack. As a result any API call can be made via a CSRF attack by an unauthenticated user. This issue has been addressed in release `0.5.0b3.dev78`. All users are advised to upgrade.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":"2024-01-18","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2024-01-18T08:49:07Z","kind":"github_poc","ref":"https://github.com/theorzr/ensimag-secu3a-cve-2024-22416","stars":0,"title":"CVE-2024-22416 exploit experiments"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Cross-Site Request Forgery on any API call in pyLoad may lead to admin privilege escalation","id":"CVE-2024-22416","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"csrf","year":"2024"},"n_packages":3,"n_references":3,"next":{"headline":"Whoogle Search Cross-site Scripting vulnerability","id":"CVE-2024-22417"},"packages":[{"ecosystem":"PyPI","fixed":["0.5.0b3.dev78"],"introduced":["0"],"last_affected":[],"package":"pyload-ng","purl":null,"source":"GHSA-pgpj-v85q-h5fm"},{"ecosystem":"PyPI","fixed":["0.5.0b3.dev78"],"introduced":["0"],"last_affected":[],"package":"pyload-ng","purl":"pkg:pypi/pyload-ng","source":"GHSA-pgpj-v85q-h5fm"},{"ecosystem":"PyPI","fixed":["0.5.0b3.dev78"],"introduced":["0"],"last_affected":[],"package":"pyload-ng","purl":"pkg:pypi/pyload-ng","source":"PYSEC-2024-17"}],"prev":{"headline":"Unsecured endpoints in the jupyter-lsp server extension","id":"CVE-2024-22415"},"products":["pyload"],"published":"2024-01-17","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.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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-17","vendors":["pyload"]},"summary":"Unauthenticated attackers can perform CSRF attacks on pyLoad API calls to escalate privileges due to missing SameSite cookie restrictions.","url":"https://insights.sbomify.com/CVE-2024-22416/"}