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

Published Mar 30, 2026
·
Updated

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.

Other sources

Summary: A privilege escalation flaw was found in Foreman. The Usergroup model does not validate role assignments against the calling user's permissions, unlike the User model which enforces escalation checks. This flaw allows an authenticated user with usergroup management permissions to attach arbitrary roles, including administrative roles, to a user group and add themselves as a member, resulting in full privilege escalation to administrator-level access.

Requirements to exploit: Authenticated Foreman account with createusergroups or editusergroups permission (e.g., Site manager, Organization admin, Manager roles, or any custom role including these permissions). Attacker crafts a single API request to create or update a user group with a privileged roleid and their own userid.

Red Hat

Affected Software

13 affected components
Red Hat Foreman
Foreman Foreman<3.18.2, >3.18.2<3.19.1
All of the following
redhat Satellite>=6.16<6.16.10
Any of the following
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
All of the following
redhat Satellite>=6.17<6.17.9
redhat Enterprise Linux=9.0
All of the following
redhat Satellite>=6.18<6.18.7
redhat Enterprise Linux=9.0
All of the following
redhat Satellite>=6.19<6.19.2
redhat Enterprise Linux=9.0
theforeman foreman<3.18.2
theforeman foreman>=3.19.0<3.19.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Foreman to a version that resolves this vulnerability.

    Fixed in 3.18.2
  2. Upgrade

    Upgrade Foreman to a version that resolves this vulnerability.

    Fixed in 3.19.1
  3. Compensating control

    Limit authenticated Foreman accounts with create_usergroups or edit_usergroups permissions (e.g., Site manager, Organization admin, Manager roles, or any custom role including these permissions) to only trusted admins to reduce exposure to usergroup role assignment manipulation.

Event History

Mar 30, 2026
Data Sourced
via Red Hat·10:47 AM
DescriptionSeverityAffected Software
Jul 1, 2026
CVE Published
via MITRE·01:28 PM
Data Sourced
via MITRE·01:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-5136?

CVE-2026-5136 has a high severity rating of 8.8.

2

How do I fix CVE-2026-5136?

To remediate CVE-2026-5136, apply the latest patches and updates provided by Red Hat for Foreman.

3

What systems are affected by CVE-2026-5136?

CVE-2026-5136 impacts Red Hat Satellite and Foreman installations that utilize usergroup management permissions.

4

What kind of vulnerability is CVE-2026-5136?

CVE-2026-5136 is a privilege escalation vulnerability that allows unauthorized role assignment in Foreman.

5

Who is at risk from CVE-2026-5136?

Authenticated users with usergroup management permissions are at risk from CVE-2026-5136 due to improper validation of role assignments.

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