Actions
Bug #39478
closedCVE-2026-5136: Privilege escalation via usergroup role assignment manipulation
Status:
Closed
Priority:
Immediate
Assignee:
-
Category:
Security
Target version:
-
Difficulty:
Triaged:
No
Description
A privilege escalation vulnerability was found in Foreman's usergroup management. The Usergroup model does not validate whether the calling user is permitted to assign the specified roles, unlike the User model which enforces ensure_roles_not_escalated. A user with create_usergroups or edit_usergroups permission can attach arbitrary roles (including "System admin") to a usergroup via the API, add themselves as a member, and inherit those elevated privileges.
CVSS: 8.8 (Important)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE: CWE-266
Credit: Stanislav Fot (Aisle Research)
Updated by The Foreman Bot 16 days ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/11064 added
Updated by The Foreman Bot 16 days ago
- Pull request https://github.com/theforeman/foreman/pull/11065 added
Updated by The Foreman Bot 16 days ago
- Pull request https://github.com/theforeman/foreman/pull/11066 added
Updated by Lukáš Ježek 16 days ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|e7625218f85f116422b6b61ec298eb25bfef5714.
Actions