CVE-2026-120698

high

Description

Wiki.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.

References

https://github.com/requarks/wiki/security/advisories/GHSA-45cp-v5ph-2jhm

https://github.com/requarks/wiki/releases/tag/v2.5.315

https://github.com/requarks/wiki/commit/2df962c86dfb265c2e2da4c04f935ad9f24fdffb

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-126662

Details

Source: Mitre, NVD

Published: 2026-11-16

Updated: 2026-11-16

CVSS v3

Base Score: 8.8

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High