CVE-2026-44224
HighSummary
Wiki.js prior to version 2.5.313 has a vulnerability that allows users to self-assign to the Administrators group by modifying arguments in the GraphQL mutation. The lack of validation on group IDs enables unauthorized elevation of privileges.
Risk Assessment
Organizations may be exposed to unauthorized access to full administrator privileges, potentially leading to serious security breaches and data loss.
Recommendation
It is recommended to update Wiki.js to version 2.5.313 or later to mitigate this vulnerability and implement additional access controls on the GraphQL mutation.
Other vulnerabilities in Wiki.js
Original NVD description (English source)
Wiki.js is an open source wiki app built on Node.js. Prior to 2.5.313, the users.update GraphQL mutation accepts an arbitrary groups array and applies it directly to the database with no validation of the group IDs supplied. The resolver passes the caller's arguments straight to the model without any ownership check or restriction on which groups can be assigned. A user with manage:users — a permission typically delegated to wiki moderators for account management — can set groups:[1] on their own account to self-assign to the Administrators group. After re-authentication, the fresh JWT carries manage:system, granting full site administrator access in a single mutation call. This vulnerability is fixed in 2.5.313.

