---
id: "CVE-2026-120698"
page: "https://infrastack.ai/live/CVE-2026-120698"
kind: "vulnerability"
aliases: ["CVE-2026-120698"]
title: "Wiki.js: user with manage:users can take over admin accounts"
severity: "high"
cvss: 8.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["node.js", "package", "self-hosted", "wiki.js"]
not_affected_if: ["fixed-version", "no-manage-users-accounts"]
published_at: "2026-11-16T22:18:14+00:00"
first_seen_at: "2026-11-16T22:39:13+00:00"
updated_at: "2026-11-16T22:40:35+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120698", "first_seen_at": "2026-11-16T22:39:13+00:00"}]
exploit_sources: []
---

# Wiki.js: user with manage:users can take over admin accounts

Link for people: https://infrastack.ai/live/CVE-2026-120698 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Wiki.js version; affected releases are before `2.5.315`
- Review which accounts hold the manage:users permission in the admin panel

## Fix

- Wiki.js: upgrade to `2.5.315`

## Timeline

- 2026-11-16T22:39:13+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-120698

## Documents

- [advisory] Vendor advisory: github.com https://github.com/requarks/wiki/security/advisories/GHSA-45cp-v5ph-2jhm
- [fix] Patch: github.com https://github.com/requarks/wiki/commit/2df962c86dfb265c2e2da4c04f935ad9f24fdffb
- [fix] Release notes: github.com https://github.com/requarks/wiki/releases/tag/v2.5.315

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
