What’s Vulnerable › Vulnerabilities
CVE-2026-5136: Foreman: foreman: privilege escalation to administrator-level access via usergroup role assignment manipulation
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-01 · updated 2026-07-09
- Weakness: CWE-266
Description
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.
Affected products
- Red Hat Satellite 6: from 6.16 before 6.16.10; from 6.17 before 6.17.9; from 6.18 before 6.18.7; from 6.19 before 6.19.2 — fixed in 6.16.10, 6.17.9, 6.18.7, 6.19.2
- foreman: before 3.18.2; from 3.19.0 before 3.19.1 — fixed in 3.18.2, 3.19.1
How to fix
Upgrade to a fixed version: Red Hat Satellite 6 6.16.10, 6.17.9, 6.18.7, 6.19.2; foreman 3.18.2, 3.19.1. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2026:34365
- https://access.redhat.com/errata/RHSA-2026:34366
- https://access.redhat.com/errata/RHSA-2026:34367
- https://access.redhat.com/errata/RHSA-2026:34368
- https://access.redhat.com/security/cve/CVE-2026-5136
- https://bugzilla.redhat.com/show_bug.cgi?id=2452970
Get alerted when CVE-2026-5136 or the next vulnerability affects your stack