{"id":"CVE-2026-86322","aliases":["CVE-2026-86322"],"related":[],"kind":"vulnerability","state":"published","title":"Foreman: authorization flaw in the foreman::controller::useraware#find_user handling used by api::v2::personalaccesstokenscontroller","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-12T20:19:29.433Z","modified":"2026-11-26T15:17:42.067Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-639"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:3.12.0.26-1.el8sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.16::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.12.0.26-1.el8sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.16::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.12.0.26-1.el8sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.16::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.12.0.26-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.16::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.12.0.26-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.16::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.12.0.26-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.16::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.14.0.26-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.14.0.26-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.14.0.26-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.16.0.29-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.18 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.18::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.16.0.29-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.18 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.18::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.16.0.29-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.18 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.18::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.18.0.19-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.19 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.19::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.18.0.19-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.19 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.19::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.18.0.19-1.el9sat","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Satellite 6.19 for RHEL 9","package":"foreman","cpe":"cpe:/a:redhat:satellite:6.19::el9","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:100120","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:99949","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:99950","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:99952","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-86322","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2529289","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":["This issue was discovered by Sandipan Roy (Red Hat)."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-13T19:24:04.760Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-86322","url":"https://www.cve.org/CVERecord?id=CVE-2026-86322","licence":"CVE Terms of Use","modified":"2026-11-26T15:08:36.878Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-86322","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-86322","licence":"Public domain","modified":"2026-11-26T15:17:42.067Z"}],"updatedAt":"2026-11-26T15:32:15.717Z","epss":{"score":0.00452,"percentile":0.40953,"date":"2026-12-01T12:00:22.000Z"}}