Privilege escalation in Requarks Wiki
CVE-2026-44224
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.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 32.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Requarks Wiki — versions < 2.5.313
- Requarks Wiki.js
Weakness classification (CWE)
References
- https://github.com/requarks/wiki/security/advisories/GHSA-cq3g-mwrg-v2rv (Exploit, Mitigation, Vendor Advisory)