{"id":"CVE-2026-120698","aliases":["CVE-2026-120698"],"related":[],"kind":"vulnerability","state":"published","title":"Wiki.js: Root Administrator Takeover, TFA Bypass and Lock out.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-16T21:14:49.853Z","modified":"2026-11-16T22:18:14.720Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":"< 2.5.315","status":"affected"}],"vendor":"requarks","product":"wiki","source":"cvelist"}],"references":[{"url":"https://github.com/requarks/wiki/security/advisories/GHSA-45cp-v5ph-2jhm","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/requarks/wiki/commit/2df962c86dfb265c2e2da4c04f935ad9f24fdffb","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/requarks/wiki/releases/tag/v2.5.315","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-16T21:28:24.546Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120698","url":"https://www.cve.org/CVERecord?id=CVE-2026-120698","licence":"CVE Terms of Use","modified":"2026-11-16T21:28:45.760Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120698","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120698","licence":"Public domain","modified":"2026-11-16T22:18:14.720Z"}],"updatedAt":"2026-11-25T22:59:50.932Z","epss":{"score":0.00436,"percentile":0.3962,"date":"2026-12-01T12:00:22.000Z"}}