{"id":"CVE-2026-120698","kind":"vulnerability","aliases":["CVE-2026-120698"],"related":[],"title":"Wiki.js: user with manage:users can take over admin accounts","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.","summary":"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.","severity":"high","cvss":8.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["node.js","package","self-hosted","wiki.js"],"not_affected_if":["fixed-version","no-manage-users-accounts"],"how_to_check":"- Check the installed Wiki.js version; affected releases are before `2.5.315`\n- Review which accounts hold the manage:users permission in the admin panel","fix":"- Wiki.js: upgrade to `2.5.315`","status":"open","published_at":"2026-11-16T22:18:14+00:00","first_seen_at":"2026-11-16T22:39:13+00:00","triaged_at":"2026-11-16T22:40:35+00:00","updated_at":"2026-11-16T22:40:35+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-16T22:40:35Z","model":"claude-haiku-5-5","output":{"fix":"- Wiki.js: upgrade to `2.5.315`","reach":"network","title":"Wiki.js: user with manage:users can take over admin accounts","impact":"high","summary":"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.","audience":"businesses","category":"package","nicknames":[],"who_cares":["wiki.js","self-hosted","node.js"],"confidence":0.8,"fix_status":"available","needs_auth":"yes","worst_case":"Attacker takes over the Root administrator account and locks out admins","analyst_note":"","how_to_check":"- Check the installed Wiki.js version; affected releases are before `2.5.315`\n- Review which accounts hold the manage:users permission in the admin panel","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["fixed-version","no-manage-users-accounts"],"who_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.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000737,"input_tokens":4743,"output_tokens":525,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-120698':13A,16A '-2026':12A,15A '2':196C '2.5.315':86C,209C 'account':10A,26B,39B,89C,104C,111C,186C 'addit':190C 'admin':9A 'administr':43B,67B,73B,108C,178C,191C 'allow':124C 'also':54B,198C 'app':80C 'argument':48B,120C 'attack':52B,139C 'authent':59B,88C,161C 'author':130C 'automat':123C 'built':81C 'bypass':126C 'chang':33B,98C 'check':132C,159C 'clear':55B,144C 'current':136C 'cve':11A,14A 'deactiv':200C 'delet':202C 'destin':128C 'destination-group':127C 'disabl':71B 'everi':172C 'factor':58B 'fix':206C 'greater':194C 'group':47B,119C,129C,167C,173C 'hold':27B,187C 'host':21B 'id':193C 'includ':40B,105C 'instal':182C 'issu':204C 'leav':180C 'legitim':185C 'let':24B 'local':38B,103C 'log':63B 'manag':4A,30B,92C,113C,188C 'node.js':17B,83C 'omit':45B,116C 'open':77C 'option':118C 'packag':18B 'password':35B,100C,165C 'permiss':32B 'prior':84C 'privileg':137C,158C 'relationship':174C 'remov':171C 'replac':164C 'root':42B,107C 'secret':153C 'select':177C 'self':20B 'self-host':19B 'sourc':78C 'state':150C 'strip':69B 'suppli':166C 'system':114C,189C 'take':7A 'target':62B,134C,147C,157C 'target-privileg':156C 'tfa':152C 'tfaisact':149C 'two':57B 'two-factor':56B 'use':95C,141C 'user':2A,5A,31B,93C 'users.disabletfa':142C 'users.update':50B,96C,169C 'version':208C 'wiki':79C 'wiki.js':1A,22B,23B,74C 'without':131C,154C,183C","nicknames":[],"mitigations":[],"who_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.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["high","nodejs","package","selfhosted","wikijs"],"campaign_type":null,"search_a":"'-120698':13A,16A '-2026':12A,15A 'account':10A 'admin':9A 'cve':11A,14A 'manag':4A 'take':7A 'user':2A,5A 'wiki.js':1A","search_b":"'account':26B,39B 'administr':43B,67B,73B 'also':54B 'argument':48B 'attack':52B 'authent':59B 'chang':33B 'clear':55B 'disabl':71B 'factor':58B 'group':47B 'hold':27B 'host':21B 'includ':40B 'let':24B 'local':38B 'log':63B 'manag':30B 'node.js':17B 'omit':45B 'packag':18B 'password':35B 'permiss':32B 'root':42B 'self':20B 'self-host':19B 'strip':69B 'target':62B 'two':57B 'two-factor':56B 'user':31B 'users.update':50B 'wiki.js':22B,23B","search_c":"'2':196C '2.5.315':86C,209C 'account':89C,104C,111C,186C 'addit':190C 'administr':108C,178C,191C 'allow':124C 'also':198C 'app':80C 'argument':120C 'attack':139C 'authent':88C,161C 'author':130C 'automat':123C 'built':81C 'bypass':126C 'chang':98C 'check':132C,159C 'clear':144C 'current':136C 'deactiv':200C 'delet':202C 'destin':128C 'destination-group':127C 'everi':172C 'fix':206C 'greater':194C 'group':119C,129C,167C,173C 'hold':187C 'id':193C 'includ':105C 'instal':182C 'issu':204C 'leav':180C 'legitim':185C 'local':103C 'manag':92C,113C,188C 'node.js':83C 'omit':116C 'open':77C 'option':118C 'password':100C,165C 'prior':84C 'privileg':137C,158C 'relationship':174C 'remov':171C 'replac':164C 'root':107C 'secret':153C 'select':177C 'sourc':78C 'state':150C 'suppli':166C 'system':114C,189C 'target':134C,147C,157C 'target-privileg':156C 'tfa':152C 'tfaisact':149C 'use':95C,141C 'user':93C 'users.disabletfa':142C 'users.update':96C,169C 'version':208C 'wiki':79C 'wiki.js':74C 'without':131C,154C,183C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-09-21T07:52:05+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-120698","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120698","severity":null,"published_at":"2026-11-16T22:18:14+00:00","modified_at":"2026-11-16T22:18:14+00:00","first_seen_at":"2026-11-16T22:39:13+00:00","fetched_at":"2026-11-16T22:39:13+00:00","note":null}],"documents":[{"id":172850,"url":"https://github.com/requarks/wiki/commit/2df962c86dfb265c2e2da4c04f935ad9f24fdffb","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":172848,"url":"https://github.com/requarks/wiki/releases/tag/v2.5.315","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":172852,"url":"https://github.com/requarks/wiki/security/advisories/GHSA-45cp-v5ph-2jhm","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-09-21T07:52:05+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}