CVE-2026-135691: Open5GS WebUI through 2.8.0 Privilege Escalation via /api/db/Account
Open5GS WebUI through 2.8.0 contains an incorrect authorization vulnerability in webui/server/routes/db.js that allows authenticated user-role accounts to modify the Account model. Attackers can send PATCH /api/db/Account/<username> setting roles to admin, overwrite password hashes, delete accounts, and read hashes to gain full administrative control.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs to authenticate to the Open5GS WebUI with a user-role account. No user interaction is required, and the vulnerable API endpoint can be reached over the network.
What can an attacker do after exploiting it?
A user-role account can modify Account records through the API, including changing its own role to admin. The attacker can also overwrite password hashes, delete accounts, or read password hashes, resulting in full administrative control.
Which deployments are affected?
Open5GS WebUI through version 2.8.0 is affected. Deployments that allow user-role accounts to access the WebUI are exposed to privilege escalation.
What can be done if patching cannot happen immediately?
Restrict WebUI access to trusted administrators and prevent user-role accounts from reaching the affected Account API endpoint. Review existing user-role accounts and account records for unexpected role changes, password-hash changes, or deletions.