{"id":"CVE-2026-96627","aliases":["CVE-2026-96627","GHSA-pw5q-rjx4-7f7p","GO-2026-6807"],"related":[],"kind":"vulnerability","state":"published","title":"Arcane: Delegated users:update permission allows admin account takeover via password reset (no privilege-hierarchy check)","summary":"Arcane is an interface for managing Docker containers, images, networks, and volumes. Prior to 2.6.0, UpdateUser in backend/api/handlers/users.go sets PasswordHash for any target without comparing caller and target privilege. A holder of delegated users:update permission can submit a password change for the global administrator, replace the administrator password, and authenticate as that account, resulting in complete global administrator account takeover. This issue is fixed in version 2.6.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Arcane is an interface for managing Docker containers, images, networks, and volumes. Prior to 2.6.0, UpdateUser in backend/api/handlers/users.go sets PasswordHash for any target without comparing caller and target privilege. A holder of delegated users:update permission can submit a password change for the global administrator, replace the administrator password, and authenticate as that account, resulting in complete global administrator account takeover. This issue is fixed in version 2.6.0.","source":"cvelist"},{"lang":"en","text":"## Summary\nA user holding the delegated `users:update` permission can reset the global administrator's password and take over the admin account. `UpdateUser` sets the target user's `PasswordHash` from the request body for ANY target with no comparison of caller-vs-target privilege. Because role assignment and role CRUD are deliberately gated by `RequireGlobalAdmin`, `users:update` is intended to sit BELOW admin (profile management); this finding defeats that separation.\n\n## Root Cause\n`UpdateUser` (handler `backend/api/handlers/users.go:317-323`) loads the target by ID and sets `userModel.PasswordHash` from the request body for any user, then `userService.UpdateUser` (`user_service.go:174`) simply `tx.Save`s — with NO actor-vs-target privilege comparison. The only `IsGlobalAdmin` guard (`user_service.go:345`) is a last-admin check inside `DeleteUser`, not the update path. Role assignment / role CRUD are `RequireGlobalAdmin` (`backend/pkg/authz/permissions.go:27-33`), proving `users:update` is intended below admin.\n\n## Impact\nComplete administrator account takeover (C:H/I:H/A:H) by any holder of the delegated `users:update` permission.\n\n## Proof of Concept\n1. Admin delegates a custom \"User Manager\" role with `users:update`.\n2. `PUT /users/{adminId}` with `{\"password\":\"attacker123\"}`.\n3. `POST /auth/login {\"username\":\"arcane\",\"password\":\"attacker123\"}` → admin session.\n\n## Attack Chain\n1. Action: admin delegates custom role with `users:update`. Guard: role creation is `RequireGlobalAdmin`. Bypass: intended delegation (holder is meant to manage profiles, not seize admin).\n2. Action: `PUT /users/{adminId}` `{\"password\":\"attacker123\"}`. Guard: `RequirePermission(users:update)` (`users.go:154`). Bypass: holder has it; no hierarchy check (`users.go:317-323`, `user_service.go:174` unconditional Save).\n3. Action: `POST /auth/login` as admin → admin session.\n\n## Bypass Evidence\n- `users.go:317-323` sets `PasswordHash` for any target; `user_service.go:174-194` has no actor/target privilege comparison.\n- Only `IsGlobalAdmin` hits are `DeleteUser`'s last-admin guard and DTO flags (grep).\n- `users:update` is org-level, held by no built-in non-admin role (`permissions.go:24`).\n\n## Affected Versions\n`<= 2.5.0`.\n\nReported by **zx (Jace)** — GitHub: @manus-use","format":"markdown","source":"ghsa"},{"lang":"en","text":"Arcane: Delegated users:update permission allows admin account takeover via password reset (no privilege-hierarchy check) in github.com/getarcaneapp/arcane/backend","format":"markdown","source":"go"}],"published":"2026-10-16T21:13:16.717Z","modified":"2026-10-19T21:40:44.932Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-266","CWE-269"],"affected":[{"ranges":[{"version":"< 2.6.0","status":"affected"}],"vendor":"getarcaneapp","product":"arcane","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.6.0"}],"ecosystem":"Go","package":"github.com/getarcaneapp/arcane/backend/v2","purl":"pkg:golang/github.com/getarcaneapp/arcane/backend/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/getarcaneapp/arcane/backend","purl":"pkg:golang/github.com/getarcaneapp/arcane/backend","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.6.0"}],"ecosystem":"Go","package":"github.com/getarcaneapp/arcane/backend/v2","purl":"pkg:golang/github.com/getarcaneapp/arcane/backend/v2","source":"go"}],"references":[{"url":"https://github.com/getarcaneapp/arcane/security/advisories/GHSA-pw5q-rjx4-7f7p","tags":["advisory","exploit","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/getarcaneapp/arcane/pull/3426","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/getarcaneapp/arcane/commit/21ea962f86d967dac8ae02a050f6e5f043d10fa1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/getarcaneapp/arcane/releases/tag/backend/v2.6.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/getarcaneapp/arcane","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-19T14:33:08.031Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-96627","url":"https://www.cve.org/CVERecord?id=CVE-2026-96627","licence":"CVE Terms of Use","modified":"2026-10-19T14:34:05.584Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pw5q-rjx4-7f7p","url":"https://github.com/advisories/GHSA-pw5q-rjx4-7f7p","licence":"CC-BY-4.0","modified":"2026-10-19T21:40:44.932Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6807","url":"https://pkg.go.dev/vuln/GO-2026-6807","licence":"CC-BY-4.0","modified":"2026-10-19T21:31:38.407Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-96627","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96627","licence":"Public domain","modified":"2026-10-19T15:17:09.873Z"}],"updatedAt":"2026-11-25T22:59:45.120Z","epss":{"score":0.00368,"percentile":0.32656,"date":"2026-12-01T12:00:22.000Z"}}