# CVE-2026-5136: Foreman: foreman: privilege escalation to administrator-level access via usergroup role assignment manipulation

- Severity: High 8.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-07-01T13:28:00.316Z
- Modified: 2026-11-26T15:17:39.410Z
- Weaknesses: CWE-266
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- foreman: before 3.18.2; from 3.19.0 before 3.19.1 (not affected: from 0:3.12.0.17-1.el8sat before *; from 0:3.12.0.17-1.el9sat before *; from 0:3.14.0.17-1.el9sat before *; from 0:3.16.0.17-1.el9sat before *; from 0:3.18.0.7-1.el9sat before *)
- satellite-capsule:el8/foreman: no versions given
- redhat satellite: 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
- theforeman foreman: before 3.18.2; from 3.19.0 before 3.19.1

## References

- <https://access.redhat.com/errata/RHSA-2026:34365> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34366> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34367> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34368> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-5136> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2452970> (issue-tracking, vendor-advisory)

## Sources

- CVE List: [CVE-2026-5136](https://www.cve.org/CVERecord?id=CVE-2026-5136), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-5136](https://nvd.nist.gov/vuln/detail/CVE-2026-5136), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2026-5136 · Whole record: https://cve.day/CVE-2026-5136.json · Rebuilt by cve.day 2026-11-26T15:32:18.244Z
