Description

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.

Severity (CVSS)

Base score8.8
SeverityHigh
VersionCVSS 3.1
VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Provided byCNA

Weaknesses

  • CWE-639 — Authorization Bypass Through User-Controlled Key

Affected products

VendorProductVersions
Red HatRed Hat Satellite 6.16 for RHEL 80:3.12.0.26-1.el8sat to <* [unaffected]
Red HatRed Hat Satellite 6.16 for RHEL 90:3.12.0.26-1.el9sat to <* [unaffected]
Red HatRed Hat Satellite 6.17 for RHEL 90:3.14.0.26-1.el9sat to <* [unaffected]
Red HatRed Hat Satellite 6.18 for RHEL 90:3.16.0.29-1.el9sat to <* [unaffected]

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Assess this vulnerability

Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.

Browse all CVE security advisories · Symaro cybersecurity services

Generated from the official CVE List on 13 Nov 2026 08:05 UTC.