Skip to main content
VulnerabilityPublished Updated

pyload-ng · pyLoad: Privilege revocation and password change through the REST API do not invalidate the user's session

Affects pyload-ngSource GCVE Database

0

CVSS 7.5 High.

Data as of 9 Nov 2026, 22:18 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.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 avoid using the REST API endpoints /api/set_user_permission and /api/change_password for privilege revocation or password changes, and instead use the WebUI form handlers (/json/update_users and /json/change_password) which properly invalidate sessions. Alternatively, manual session invalidation or reducing session lifetime may mitigate risk. The recommended fix is to invalidate user sessions immediately after database updates in the core API methods to ensure all callers enforce updated permissions.

Description

pyLoad-ng versions up to 0.5.0b3.dev101 contain a vulnerability where revoking user privileges or changing passwords via the REST API does not invalidate the user's existing session. This allows a user to retain access with old privileges or session state despite database updates. The issue affects the session-based authentication branch, which caches roles and permissions at login and does not re-check them on each request. The API key authentication branch is unaffected. Sessions can remain valid for about a month due to the default session lifetime.

References

Community reviews

Loading reviews…