Privilege escalation in Theforeman Foreman
CVE-2026-5136
A flaw was found in Foreman. The Usergroup model in Foreman does not properly validate role assignments against the calling user's permissions. This allows an authenticated user with usergroup management permissions to attach arbitrary roles, including administrative roles, to a user group and then add themselves as a member. Successful exploitation of this vulnerability leads to full privilege escalation, granting the attacker administrator-level access.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 46.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2026-5136 (vdb-entry, Vendor Advisory)
- RHBZ#2452970 (issue-tracking, Issue Tracking, Vendor Advisory)
- RHSA-2026:34367 (vendor-advisory, Vendor Advisory)
- RHSA-2026:34368 (vendor-advisory, Vendor Advisory)
- RHSA-2026:34365 (vendor-advisory, Vendor Advisory)
- RHSA-2026:34366 (vendor-advisory, Vendor Advisory)