8.6high
Wiki.js: Privilege Escalation via Missing Group Validation in users.update
- Severity
- 8.6high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.38% (higher than 33% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| requarks wiki | < 2.5.313 | CVE List |
| requarks wiki.js | before 2.5.313 | NVD |
All scores
| GitHub_M | 8.6high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Wiki.js es una aplicación wiki de código abierto construida sobre Node.js. Antes de la 2.5.313, la mutación GraphQL users.update acepta un array de grupos arbitrario y lo aplica directamente a la base de datos sin ninguna validación de los IDs de grupo proporcionados. El resolvedor pasa los argumentos del llamador directamente al modelo sin ninguna verificación de propiedad o restricción sobre qué grupos pueden ser asignados. Un usuario con manage:users - un permiso típicamente delegado a los moderadores de la wiki para la gestión de cuentas - puede establecer groups:[1] en su propia cuenta para autoasignarse al grupo de Administradores. Después de la re-autenticación, el nuevo JWT lleva manage:system, otorgando acceso completo de administrador del sitio en una sola llamada de mutación. Esta vulnerabilidad está corregida en la versión 2.5.313.
References
| https://github.com/requarks/wiki/security/advisories/GHSA-cq3g-mwrg-v2rv | exploit, mitigation, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44224 changed 2026-05-13 | CVE Terms of Use |
| NVD | CVE-2026-44224 changed 2026-10-26 | Public domain |