pyLoad session invalidation bypass in privilege revocation and password change

Severity: high · CVSS 7.5 · Published 2026-10-09

pyLoad is a download management application that allows administrators to manage user accounts via a REST API. When an admin revokes a user's privileges or changes their password through the API, the user's existing session remains active for up to a month, allowing them to retain full administrator access even after being demoted and locked out of login.

Technologies: pyLoad, pyload-ng (PyPI). Vendors: pyLoad, PyPI.

Quick answers

Is This vulnerability exploited in the wild?
No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
How severe is This vulnerability?
High severity, with a CVSS score of 7.5, published 9 October 2026.
Which products and versions are affected?
pyLoad 0.5.0b3.dev101 and likely other versions; pyload-ng (PyPI) <= 0.5.0b3.dev101.
Is there a fix for This vulnerability?
No fixed version is recorded yet. Limit the webui.session_lifetime configuration (default 44640 minutes) to a shorter interval to reduce the window in which a revoked session remains valid. Restrict REST API access to set_user_permission and change_password to trusted administrators and consider using API-key authentication instead of session-based authentication where possible. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is This vulnerability attacked?
It is attacked over the network, in a software library.
Am I affected?
Check whether you run pyLoad or pyload-ng (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

Limit the webui.session_lifetime configuration (default 44640 minutes) to a shorter interval to reduce the window in which a revoked session remains valid. Restrict REST API access to set_user_permission and change_password to trusted administrators and consider using API-key authentication instead of session-based authentication where possible.

Technical details

The vulnerability exists in pyLoad's session handling: role and permissions are cached in the Flask session at login and never re-validated against the database on subsequent requests. The core API methods set_user_permission and change_password in core/api/__init__.py update the database but do not invalidate the user's session, allowing an authenticated attacker with an active session to maintain privileges despite administrative revocation. The flaw affects only session-based authentication; API-key authentication is unaffected as it reads from the database per request.

Affected products

  • pyLoad pyLoad 0.5.0b3.dev101 and likely other versions

Timeline

  • 2026-10-09: disclosed

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.