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.
PUBLISHED5.2CWE-269
Wiki.js: Privilege Escalation via Missing Group Validation in users.update
Problem type
Affected products
requarks
wiki
< 2.5.313 - AFFECTED
References
JSON source
https://cveawg.mitre.org/api/cve/CVE-2026-44224Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2026-44224",
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"dateUpdated": "2026-05-12T20:33:53.046Z",
"dateReserved": "2026-05-05T15:42:40.518Z",
"datePublished": "2026-05-12T20:33:53.046Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-05-12T20:33:53.046Z"
},
"title": "Wiki.js: Privilege Escalation via Missing Group Validation in users.update",
"descriptions": [
{
"lang": "en",
"value": "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": [
{
"vendor": "requarks",
"product": "wiki",
"versions": [
{
"version": "< 2.5.313",
"status": "affected"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-269: Improper Privilege Management",
"cweId": "CWE-269",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://github.com/requarks/wiki/security/advisories/GHSA-cq3g-mwrg-v2rv",
"name": "https://github.com/requarks/wiki/security/advisories/GHSA-cq3g-mwrg-v2rv",
"tags": [
"x_refsource_CONFIRM"
]
}
],
"metrics": [
{}
]
}
}
}