Red Hat Satellite 6.16 for RHEL 8
Foreman: authorization flaw in the foreman::controller::useraware#find_user handling used by api::v2::personalaccesstokenscontroller
A flaw was found in Foreman’s Api::V2::PersonalAccessTokensController, where Foreman::Controller::UserAware#find_user resolves the target account using User.find(params[:user_id]) without applying the required parent-user authorization check. An attacker with the create_personal_access_tokens permission can therefore invoke POST /api/v2/users/:user_id/personal_access_tokens with another user’s ID and create a Personal Access Token on their behalf. The resulting plaintext token is returned in the API response, while PersonalAccessToken#check_permissions_after_save only validates create_personal_access_tokens on the token and does not enforce edit_users authorization on the target user. The attacker can then use the forged token to authenticate as the victim, potentially resulting in complete account takeover, including administrator accounts.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:3.12.0.26-1.el8sat
Fixed in 0:3.12.0.26-1.el9sat
Fixed in 0:3.14.0.26-1.el9sat
Fixed in 0:3.16.0.29-1.el9sat
Fixed in 0:3.18.0.19-1.el9sat
Mitigation
Upgrade Red Hat Satellite 6.16 for RHEL 8 to 0:3.12.0.26-1.el8sat or later.
Upgrade Red Hat Satellite 6.16 for RHEL 9 to 0:3.12.0.26-1.el9sat or later.
Upgrade Red Hat Satellite 6.17 for RHEL 9 to 0:3.14.0.26-1.el9sat or later.
Upgrade Red Hat Satellite 6.18 for RHEL 9 to 0:3.16.0.29-1.el9sat or later.
Upgrade Red Hat Satellite 6.19 for RHEL 9 to 0:3.18.0.19-1.el9sat or later.
Workaround
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:100120
- Vendor advisory access.redhat.com/errata/RHSA-2026:99949
- Vendor advisory access.redhat.com/errata/RHSA-2026:99950
1 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:99952
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.