CVE-2026-5136
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Usergroup model in Foreman lacks proper authorization checks when assigning roles, allowing an authenticated user with usergroup management permissions to assign arbitrary roles (including admin roles) to a usergroup they control or are a member of, achieving full privilege escalation to administrator access.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 6.16, < 6.16.10>= 6.17, < 6.17.9>= 6.18, < 6.18.7>= 6.19, < 6.19.2< 3.18.2>= 3.19.0, < 3.19.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the installed Foreman or Satellite versionRun 'hammer --version' or check the package version: 'rpm -q foreman' or 'rpm -q rubygem-foreman' on Red Hat Satellite check 'satellite-installer --version'Affected if The installed version falls within any of these ranges: Foreman < 3.18.2 or 3.19.0 <= Foreman < 3.19.1; Satellite >= 6.16 but < 6.16.10; Satellite >= 6.17 but < 6.17.9; Satellite >= 6.18 but < 6.18.7; Satellite >= 6.19 but < 6.19.2
-
Identify users with usergroup management permissionsQuery the authorization database: hammer user list --per-page 1000 and hammer role list, then check which users have the 'usergroup_manager' role or a role containing usergroup create/update permissions. Alternatively, inspect /usr/share/foreman/app/models/role.rb and look for users assigned roles with usergroup_* permissions.Affected if Non-administrator users possess roles that grant create, update, or assign_role permissions on usergroups
-
Review usergroup-to-role assignmentsRun 'hammer usergroup list' to enumerate all usergroups, then for each usergroup run 'hammer usergroup info --id <id>' to inspect assigned roles. Focus on usergroups that have admin or equivalent elevated roles assigned.Affected if Any usergroup controlled by a non-admin user has been assigned an admin role or other privileged role they should not have access to
-
Audit recent usergroup role changesCheck Foreman/Satellite audit logs for events involving usergroup role assignment: grep for 'usergroup' in /var/log/foreman/production.log or query the audits table where auditable_type contains 'Usergroup' and action is 'update'Affected if There are recent role assignment changes to usergroups made by users without administrator-level access
You are affected if you run a vulnerable Foreman or Satellite version AND have any non-administrator users with usergroup management permissions who have assigned elevated roles to usergroups they control.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped3.18.23.19.16.16.10
Apply vendor patch when available; in the interim, strictly limit usergroup management permissions to a small set of trusted administrators and audit existing usergroup role assignments for unauthorized escalation.
Foreman: upgrade to 3.18.2 or 3.19.1 | Satellite: upgrade to 6.16.10, 6.17.9, 6.18.7, or 6.19.2 depending on your current major version branch
- 1. Backup your Foreman/Satellite database and configuration files before proceeding with any upgrade.
- 2. For Satellite: Run `satellite-maintain upgrade` or use Red Hat Satellite's update mechanisms to upgrade to version 6.16.10, 6.17.9, 6.18.7, or 6.19.2 depending on your current major version.
- 3. For Foreman (standalone): Update the foreman packages via your package manager (e.g., `yum update foreman` or `apt-get upgrade foreman`) to reach version 3.18.2 or 3.19.1.
- 4. After the package update, run any required database migrations with `foreman-rake db:migrate`.
- 5. Restart Foreman services with `systemctl restart foreman` or `foreman-maintain service restart`.
- 6. Verify the upgrade was successful by checking the version in the Foreman/Satellite web UI or via CLI: `hammer ping` or `foreman --version`.
- 7. As a security best practice post-upgrade, audit existing usergroup role assignments to ensure no unauthorized privilege escalation occurred.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-5136 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-5136 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data