Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as manage:users account
-
DeliveryEnumerate root administrator (id 1)
-
Exploitusers.update omits groups to reset admin password
-
Executionusers.disableTFA clears target TFA secret
-
PersistLog in as root administrator
-
ImpactFull admin takeover and potential server RCE
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a pre-existing authenticated Wiki.js account holding the manage:users permission (a delegated moderator-style role); this is the chief limiting factor and matches CVSS PR:L - it is not anonymous/unauthenticated. The target must be a local-strategy account (providerKey local) whose password can be reset; the described chain targets the Root administrator at the fixed id 1, and additional administrators with IDs greater than 2 can also be deactivated or deleted. Concretely, the attacker invokes the GraphQL users.update mutation while OMITTING the optional groups argument (or supplying groups: []), which the core/auth.js helper auto-allows, bypassing destination-group authorization; to defeat a TFA-protected admin, the attacker additionally calls users.disableTFA for the same id, which clears tfaIsActive and tfaSecret with no target-privilege check. No special non-default server configuration is required beyond having delegated the manage:users permission to a non-system account. |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated one. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) is consistent with the described mechanism: a network-reachable GraphQL endpoint, low attacker privileges (an authenticated account holding only manage:users), no user interaction, and full compromise of confidentiality, integrity and availability via complete administrator takeover. CWE-863 (improper authorization) accurately captures the flaw - the resolvers authorize the supplied destination groups but never compare requester privileges to the target's, so a delegated user-manager crosses the intended privilege boundary. The vuln.today decision label is this_week (not act_now/emergency). No EPSS score and no CISA KEV status were provided in the input, so there is no signal of confirmed active exploitation or statistically modeled exploitation probability - absence of these is not evidence of low risk, but it means urgency rests on the decision label plus a detailed public PoC rather than observed in-the-wild activity. The main factor tempering raw risk is PR:L: the attacker must already possess a valid account with the manage:users permission, which is a privileged delegated role, not an anonymous outsider. Where that delegated role is handed out to moderators, the gap between manage:users and full manage:system collapses entirely, making this a realistic privilege-escalation-to-takeover path that should be patched within the week. |
| Exploit ScenarioDerived | A moderator-level account that was granted only the manage:users permission calls the GraphQL users.update mutation against the Root administrator (user id 1), omitting the optional groups argument, which resets the admin's local password without any target-privilege check. The same account then calls users.disableTFA for that id to clear the administrator's TFA, and logs in with the chosen password to obtain a session carrying manage:system. A complete step-by-step proof-of-concept (full GraphQL/HTTP request sequence and screenshots) is published in the GHSA advisory; it is not independently verified as packaged, weaponized exploit code, but the requests are fully specified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Privilege escalation in Wiki.js before 2.5.315 lets any authenticated account holding only the manage:users scope take over the built-in Root administrator (fixed id 1) by calling the GraphQL users.update mutation with the optional groups argument omitted, which the group-assignment helper auto-allows and which performs no check of the target's current privileges. The same delegated attacker can call users.disableTFA against the administrator's id to clear tfaIsActive and the TFA secret, then log in with the replacement password and obtain a JWT carrying manage:system; supplying groups: [] instead strips every group from a chosen administrator and can leave the install with no legitimate manage:system holder. The prerequisite is a pre-existing low-privileged account with manage:users (CVSS PR:L), so this is not anonymous, and the vendor security advisory (GHSA-45cp-v5ph-2jhm) publishes a step-by-step HTTP proof-of-concept walkthrough; no CISA KEV listing or confirmed in-the-wild exploitation was present in the supplied intelligence, and the vendor-released fix is version 2.5.315.
RemediationAI
Upgrade to Wiki.js 2.5.315 or later (release: https://github.com/requarks/wiki/releases/tag/v2.5.315); the patch commit 2df962c86dfb265c2e2da4c04f935ad9f24fdffb introduces a centralized target-privilege check (checkManageUserTargetAccess) applied to users.update, users.delete, users.verify, users.activate, users.deactivate, users.enableTFA, users.disableTFA and group.unassignUser, protects the built-in accounts with id <= 2 and any isSystem account even if their groups were damaged, and revokes the target's active sessions whenever the password or group membership changes - per the advisory GHSA-45cp-v5ph-2jhm this is the complete fix, and no partial server-side configuration is offered that closes the bypass. Where upgrading must be scheduled, the exposure is bounded by the single prerequisite the exploit needs: any account holding manage:users must be treated as administrator-equivalent until the patch is applied, so revoke manage:users from delegated or moderator-style groups and keep that scope only on accounts already trusted with full administration (the trade-off is that delegated user-management workflows stop functioning), and if such an account may already have been abused, reset the Root administrator's local password, re-enroll its TFA secret, review administrators for membership stripped to an empty group list, and check for accounts deactivated or deleted by unexpected ids. No vendor workaround short of the 2.5.315 upgrade is documented.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Wiki.js 2.x is a Node.js wiki application exposing a GraphQL API whose mutations are gated by an @auth directive (server/graph/directives/auth.js). That directive uses lodash _.some over a permission list, giving the declared scopes OR semantics, so @auth(requires: ["manage:users", "manage:system"]) on users.update, users.disableTFA, users.delete, users.activate/deactivate and users.verify is satisfied by manage:users alone. CWE-863 (incorrect authorization) is the root cause: the update resolver only validated the *destination* groups via WIKI.auth.checkAssignUserToGroupAccess and never authorized against the *target's* existing groups or privileges, while that helper (server/core/auth.js:327-330) returns true when groupIds is missing or empty - so both an omitted groups argument and groups: [] bypass the destination-group boundary entirely. The model layer (server/models/users.js) then patches an arbitrary id: it sets usrData.password for any target, patches { tfaIsActive: false, tfaSecret: null } for disableTFA, and for an empty group list computes _.difference(usrGroups, groups) and unrelates every existing membership. The dedicated group.unassignUser resolver did protect initial user 1 from removal from the Administrators group 1 and revoked tokens, but users.update(groups: []) reaches the model directly and skips that guard. The upstream fix (commit 2df962c86dfb265c2e2da4c04f935ad9f24fdffb) adds checkManageUserTargetAccess(requester, targetId) in server/core/auth.js, which returns false for targets with id <= 2 or isSystem, for targets holding manage:system, and for targets holding administrative scopes unless the requester has manage:groups; it is wired through a new assertCanManageTarget helper into update, delete, verify, activate, deactivate, enableTFA, disableTFA and group.unassignUser, with session revocation on password or group changes and an explicit block on removing user 1 from group 1.
Know when Wiki gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network GraphQL endpoint (AV:N), no special trigger conditions (AC:L), requires a low-privilege manage:users account (PR:L), no user interaction; full administrator takeover yields C:H/I:H/A:H within one authority (S:U).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Technical POC Analysis
Bug class: CWE-863, Incorrect Authorization.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity privilege escalation vulnerability (CVE-2026-120698) in Wiki.js, a widely used enterprise wiki platform, allows any authenticated user with delegated user-management rights to take over the highest-privilege Root administrator account. This could lead to full system compromise, data breaches, or service disruption, and affects organizations relying on Wiki.js for internal knowledge sharing.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Stored cross-site scripting in Wiki.js (all versions prior to 2.5.315) lets an account holding only write:pages permissi
Remote code execution in Hytale Modding Wiki version 1.2.0 and earlier allows authenticated users to upload malicious PH
Vertical privilege escalation in Wiki.js before 2.5.313 lets an account-management moderator promote themselves to full
An Insecure Direct Object Reference (IDOR) vulnerability in the Hytale Modding Wiki prior to version 1.0.0 allows any au
EUVD-2026-126662
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB