Poweradmin: API user-update endpoint leads to a non-admin reset any user's password and take over the superuser account
Poweradmin contains a vulnerability in its REST API user-update endpoint that allows users with the 'user_edit_others' permission, but not superuser status, to reset any user's password, including superusers. This bypasses the application's intended permission checks enforced in the web interface, enabling privilege escalation and full account takeover of the superuser account. The API does not verify if the target user is a superuser nor checks for the 'user_passwd_edit_others' permission before allowing password changes. This inconsistency leads to a critical security flaw allowing non-admin users to gain full administrative control.
AI Analysis
Technical Summary
The Poweradmin REST API user-update endpoint (PUT/PATCH /api/v2/users/{id} and the V1 equivalent) fails to enforce two key authorization rules that the web interface enforces: preventing non-superusers from editing superuser accounts and requiring a separate permission to change other users' passwords. The API's canEditUser() method grants users with 'user_edit_others' permission the ability to edit all users, including superusers, without restriction. Additionally, the updateUser() method updates passwords without verifying the 'user_passwd_edit_others' permission. This allows a non-admin user with 'user_edit_others' permission to reset the superuser's password and take over the superuser account, resulting in full privilege escalation. The web UI explicitly blocks these actions, but the API is inconsistent, creating a serious security gap.
Potential Impact
A user with the 'user_edit_others' permission but without superuser privileges can reset the password of any account, including superusers, via the API. This leads to full privilege escalation and complete account takeover of the superuser account. The vulnerability undermines the intended permission model and allows unauthorized administrative access, potentially compromising the entire system's security and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict API access to trusted users only and avoid granting the 'user_edit_others' permission to non-superusers. Monitor for updates from the Poweradmin maintainers and apply patches promptly once released. Do not rely on the API for user management if this vulnerability is present.
Poweradmin: API user-update endpoint leads to a non-admin reset any user's password and take over the superuser account
Description
Poweradmin contains a vulnerability in its REST API user-update endpoint that allows users with the 'user_edit_others' permission, but not superuser status, to reset any user's password, including superusers. This bypasses the application's intended permission checks enforced in the web interface, enabling privilege escalation and full account takeover of the superuser account. The API does not verify if the target user is a superuser nor checks for the 'user_passwd_edit_others' permission before allowing password changes. This inconsistency leads to a critical security flaw allowing non-admin users to gain full administrative control.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Poweradmin REST API user-update endpoint (PUT/PATCH /api/v2/users/{id} and the V1 equivalent) fails to enforce two key authorization rules that the web interface enforces: preventing non-superusers from editing superuser accounts and requiring a separate permission to change other users' passwords. The API's canEditUser() method grants users with 'user_edit_others' permission the ability to edit all users, including superusers, without restriction. Additionally, the updateUser() method updates passwords without verifying the 'user_passwd_edit_others' permission. This allows a non-admin user with 'user_edit_others' permission to reset the superuser's password and take over the superuser account, resulting in full privilege escalation. The web UI explicitly blocks these actions, but the API is inconsistent, creating a serious security gap.
Potential Impact
A user with the 'user_edit_others' permission but without superuser privileges can reset the password of any account, including superusers, via the API. This leads to full privilege escalation and complete account takeover of the superuser account. The vulnerability undermines the intended permission model and allows unauthorized administrative access, potentially compromising the entire system's security and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict API access to trusted users only and avoid granting the 'user_edit_others' permission to non-superusers. Monitor for updates from the Poweradmin maintainers and apply patches promptly once released. Do not rely on the API for user management if this vulnerability is present.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h4hf-v6w5-897x
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a65421f9c2644c7f808817d
Added to database: 07/25/2026, 23:09:19 UTC
Last enriched: 07/25/2026, 23:51:19 UTC
Last updated: 07/25/2026, 23:51:19 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.