{"id":"CVE-2026-120698","state":"PUBLISHED","title":"Wiki.js: Root Administrator Takeover, TFA Bypass and Lock out.","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.","publishedAt":"2026-11-16T21:14:49.853Z","updatedAt":"2026-11-16T21:28:45.760Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["requarks wiki"],"affected":[{"vendor":"requarks","product":"wiki","versions":[{"version":"< 2.5.315","status":"affected"}]}],"references":["https://github.com/requarks/wiki/security/advisories/GHSA-45cp-v5ph-2jhm","https://github.com/requarks/wiki/commit/2df962c86dfb265c2e2da4c04f935ad9f24fdffb","https://github.com/requarks/wiki/releases/tag/v2.5.315"],"weaknesses":["CWE-863"],"ingestedAt":"2026-11-16T21:32:06.127Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120698.json","commit":"35e9c693732f79b90381af300f8183f1389bba8a","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120698","state":"PUBLISHED","datePublished":"2026-11-16T21:14:49.853Z","dateUpdated":"2026-11-16T21:28:45.760Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-11-02T19:50:36.444Z"},"containers":{"cna":{"title":"Wiki.js: Root Administrator Takeover, TFA Bypass and Lock out.","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"requarks","product":"wiki","versions":[{"version":"< 2.5.315","status":"affected"}]}],"references":[{"url":"https://github.com/requarks/wiki/security/advisories/GHSA-45cp-v5ph-2jhm","name":"https://github.com/requarks/wiki/security/advisories/GHSA-45cp-v5ph-2jhm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/requarks/wiki/commit/2df962c86dfb265c2e2da4c04f935ad9f24fdffb","name":"https://github.com/requarks/wiki/commit/2df962c86dfb265c2e2da4c04f935ad9f24fdffb","tags":["x_refsource_MISC"]},{"url":"https://github.com/requarks/wiki/releases/tag/v2.5.315","name":"https://github.com/requarks/wiki/releases/tag/v2.5.315","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"CWE-863: Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-16T21:14:49.853Z"},"source":{"advisory":"GHSA-45cp-v5ph-2jhm","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/requarks/wiki/security/advisories/GHSA-45cp-v5ph-2jhm","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-16T21:28:24.546774Z","id":"CVE-2026-120698","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-16T21:28:45.760Z"}}]}}}