GHSA-pw5q-rjx4-7f7p: High severity go/github.com/getarcaneapp/arcane/backend/v2 vulnerability

Published Oct 16, 2026
·
Updated

Summary A 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.

Root Cause 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 (userservice.go:174) simply tx.Saves — with NO actor-vs-target privilege comparison. The only IsGlobalAdmin guard (userservice.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.

Impact Complete administrator account takeover (C:H/I:H/A:H) by any holder of the delegated users:update permission.

Proof of Concept 1. Admin delegates a custom "User Manager" role with users:update. 2. PUT /users/{adminId} with {"password":"attacker123"}. 3. POST /auth/login {"username":"arcane","password":"attacker123"} → admin session.

Attack Chain 1. 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). 2. Action: PUT /users/{adminId} {"password":"attacker123"}. Guard: RequirePermission(users:update) (users.go:154). Bypass: holder has it; no hierarchy check (users.go:317-323, userservice.go:174 unconditional Save). 3. Action: POST /auth/login as admin → admin session.

Bypass Evidence - users.go:317-323 sets PasswordHash for any target; userservice.go:174-194 has no actor/target privilege comparison. - Only IsGlobalAdmin hits are DeleteUser's last-admin guard and DTO flags (grep). - users:update is org-level, held by no built-in non-admin role (permissions.go:24).

Affected Versions <= 2.5.0.

Reported by zx (Jace) — GitHub: @manus-use

Affected Software

1 affected componentFixes available
go/github.com/getarcaneapp/arcane/backend/v2<2.6.0
2.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/getarcaneapp/arcane/backend/v2 to a version that resolves this vulnerability.

    Fixed in 2.6.0

Event History

Oct 16, 2026
Advisory Published
via GitHub·09:15 PM
Data Sourced
via GitHub·09:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

Any authenticated user who holds the delegated `users:update` permission can exploit it. That permission is intended for lower-privilege profile management, not global administrator actions.

2

What does exploitation require?

The attacker needs the `users:update` permission and the ability to submit an UpdateUser request targeting the global administrator account. No administrator interaction is required.

3

What is the impact if exploitation succeeds?

The attacker can replace the global administrator's password, authenticate as that administrator, and obtain complete administrator account control. This can compromise confidentiality, integrity, and availability.

4

How can defenders determine whether they are exposed?

Review delegated or custom roles for the `users:update` permission and identify every account assigned those roles. Any such account may be able to change the password hash of any target user, including the global administrator.

5

What can be done while patching is not possible?

Remove or restrict the delegated `users:update` permission from non-global-administrator accounts. Limit access to accounts that can issue user-update requests until the update path enforces caller-versus-target privilege checks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203