CVE-2026-120698 · Package
NO FIX YET · SEE WHAT TO DO
Wiki.js lets an account holding only the manage:users permission change the password of any local account, including the Root administrator, by omitting the groups argument in users.update. The attacker can also clear two-factor authentication on the target, log in as the administrator, and strip or disable other administrators.
first public Sep 21, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Installations of Wiki.js running a version before 2.5.315 where some user has the manage:users permission. Accounts with only read or write page access are not described as exposed. Teams that run a single-admin wiki with no delegated user managers are less exposed, but the flaw still requires an authenticated account with manage:users.
Not affected if fixed-version, no-manage-users-accounts
Who cares node.js, self-hosted, wiki.js
2.5.3152.5.315Wiki.js is an open source wiki app built on Node.js. Prior to 2.5.315, an authenticated account with only manage:users can use users.update to change the password of any local account, including the Root administrator and other accounts with manage:system, by omitting the optional groups argument, which is automatically allowed and bypasses destination-group authorization without checking the target's current privileges. The attacker can use users.disableTFA to clear the same target's tfaIsActive state and TFA secret without a target-privilege check, then authenticate with the replacement password. Supplying groups: [] to users.update can remove every group relationship from a selected administrator and leave the installation without a legitimate account holding manage:system. Additional administrators with IDs greater than 2 can also be deactivated or deleted. This issue is fixed in version 2.5.315.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.