BuzzPHP
LightDarkSystem

Poweradmin: API user-update endpoint leads to a non-admin reset any user's password and take over the superuser account

High severity. Published 24 July 2026. Update poweradmin/poweradmin to the fixed version of your branch (4.2.5, 4.3.4): composer update poweradmin/poweradmin.

Which versions are affected?

PackageAffected versionsFixed in
poweradmin/poweradmin (opens in a new tab)>= 4.0.0, < 4.2.5 | >= 4.3.0, < 4.3.44.2.5, 4.3.4

What should you do?

Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:

composer show poweradmin/poweradmin
composer audit

Advisory details

SeverityHighCVSS 8.8
Published
Updated
GHSAGHSA-h4hf-v6w5-897x (opens in a new tab)
WeaknessCWE-620, CWE-862

What the advisory says

Summary

The REST API user-update endpoint (PUT/PATCH /api/v2/users/{id} and the V1 equivalent) does not enforce two authorization rules that the web interface enforces. A user who holds the usereditothers permission but is not a superuser can:

1. edit user accounts that belong to a superuser, and 2. set the password of any account, even without the userpasswdeditothers permission.

Because of this, a non-admin "user manager" role can send a single API request that changes the administrator's password, then log in as the administrator. This is a full privilege escalation and account takeover.

Source: GHSA-h4hf-v6w5-897x (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .

Other recent advisories for this package

All Composer security advisories