CVE-2026-44224 Wiki.js: Privilege Escalation via Missing Group Validation in users.update
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| requarks Wiki.js | < 2.5.313 | 2.5.313 | Fixed |
| requarks github.com/requarks/wiki | = < 2.5.313 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| requarks github.com/requarks/wiki | = < 2.5.313 | No fix listed |
| requarks Wiki.js | < 2.5.313 | 2.5.313 |
References
- https://github.com/requarks/wiki/security/advisories/GHSA-cq3g-mwrg-v2rv exploit mitigation vendor-advisory