Skip to main content
VulnerabilityPublished

Pyload ng: pyLoad: Api.set_user_permission never invalidates the target's session

Affects pyload-ngSource GCVE Database

0

CVSS 7.5 High.

Data as of 9 Oct 2026, 22:53 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

What to do

Affected software

ProductAffectedFixed in
PyPIpyload-ngAffected
  • >=0.5.0b3.dev98 <=0.5.0b3.dev101
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, administrators should be aware that revoking or downgrading user permissions via the API does not immediately revoke active sessions. As a workaround, affected users should be forced to log out or have their sessions manually invalidated if possible. Monitoring and restricting use of the /api/set_user_permission endpoint to trusted admins only is recommended.

Description

pyLoad-ng contains a vulnerability where an admin revoking or downgrading a non-admin user's permissions via the documented API does not invalidate the user's existing Flask session cookie. As a result, the demoted user retains their previous elevated permissions in their session for up to the session lifetime (~31 days) or until they log out. This stale session issue occurs because the API method that changes permissions does not clear or refresh user sessions, and no mechanism exists to update session data after login. The vulnerability affects versions from 0.5.0b3.dev98 through 0.5.0b3.dev101 and has a CVSS score of 7.5 (high severity).

References

Community reviews

Loading reviews…