Wiki.js Node.js Application Vulnerability in User Management
CVE-2026-120698
What is CVE-2026-120698?
A security issue exists in Wiki.js, an open-source wiki application based on Node.js, prior to version 2.5.315. An authenticated user with limited permissions (manage:users) can exploit the capability of the users.update function to alter the passwords of any local account, including those with elevated privileges, such as the Root administrator. This occurs when the optional groups argument is omitted, allowing bypass of authorization checks associated with account groups. Furthermore, through the users.disableTFA method, the attacker can deactivate the two-factor authentication (TFA) state and TFA secrets of other users without verifying their privileges. By providing groups: [] during the users.update call, the attacker can remove all group affiliations from administrator accounts, potentially leaving the system without a legitimate manage:system account. Additionally, administrators with IDs greater than 2 may be deactivated or deleted as a result of this vulnerability. This situation has been rectified in version 2.5.315.
Affected Version(s)
wiki < 2.5.315
