CVE-2026-135691 in Open5GS
Summary
by MITRE • 11/24/2026
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.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/24/2026
The Open5GS WebUI version 2.8.0 contains a critical authorization flaw within the database management module located at webui/server/routes/db.js. This vulnerability stems from an insufficient access control check that fails to validate whether an authenticated user possesses the necessary privileges to modify sensitive Account model attributes. While the application correctly requires authentication for general operations, it erroneously permits any logged-in user with a standard role to execute administrative-level modifications on other accounts. Specifically, the PATCH endpoint responsible for updating account details does not enforce strict separation of duties or verify that the requester is an administrator before allowing changes to critical fields such as roles and password hashes.
This architectural weakness allows attackers who have obtained valid credentials for a low-privilege user account to escalate their privileges significantly. By sending crafted HTTP requests to PATCH /api/db/Account/<username>, adversaries can alter the role field of any target account, including administrative ones, effectively granting themselves or other compromised accounts full system control. Furthermore, the vulnerability extends beyond privilege escalation; attackers can overwrite password hashes for existing users, potentially locking out legitimate administrators or setting predictable credentials for future access. The flaw also permits the deletion of user accounts and the reading of stored password hashes, which facilitates offline cracking attacks to further compromise additional systems within the network infrastructure.
The operational impact of this vulnerability is severe, as it compromises the integrity and availability of the Open5GS core network functions. Since Open5GS serves as a 4G/5G core network implementation, unauthorized administrative access can lead to the disruption of mobile services, interception of user traffic, or complete takeover of the telecommunications infrastructure. An attacker with full administrative control could manipulate subscriber data, modify policy settings, and potentially exfiltrate sensitive customer information stored within the database. This represents a significant risk to service providers relying on Open5GS for production environments, as it undermines the fundamental security model required for managing network elements securely.
From a classification perspective, this issue aligns with CWE-269 Improper Privilege Management and CWE-862 Missing Authorization, indicating that the system fails to enforce appropriate access rights for authorized actions. In terms of adversary tactics, this vulnerability supports ATT&CK techniques such as T1078 Valid Accounts, where attackers leverage legitimate credentials to maintain persistence, and T1098 Account Manipulation, which involves altering account properties like roles or permissions to escalate privileges without creating new accounts. The ability to read password hashes also relates to credential access strategies that facilitate lateral movement across connected systems.
To mitigate this vulnerability, organizations running Open5GS versions up to 2.8.0 should immediately upgrade to a patched version where the authorization logic in db.js has been corrected to enforce role-based access control strictly for administrative endpoints. Until an update is applied, network administrators can implement compensating controls by placing the WebUI behind a reverse proxy that filters HTTP methods and validates user roles at the gateway level before requests reach the application server. Additionally, enforcing strong password policies and multi-factor authentication reduces the likelihood of initial credential compromise, while regular auditing of account modifications in database logs can help detect unauthorized changes early. It is also advisable to restrict direct access to the API endpoints by IP address if possible, limiting exposure to trusted management networks only.