CVE-2026-86322
HIGH 8.8CVSS 3.1Foreman: 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.
- Published
- 12 Nov 2026
- Last modified
- 26 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-639
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | redhat | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | foremancpe:/a:redhat:satellite:6.16::el8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | foremancpe:/a:redhat:satellite:6.16::el8 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | foremancpe:/a:redhat:satellite:6.17::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | foremancpe:/a:redhat:satellite:6.18::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | foremancpe:/a:redhat:satellite:6.19::el9 |
all versions |
References
- https://access.redhat.com/errata/RHSA-2026:100120 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:99949 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:99950 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:99952 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-86322 · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2529289 · issue-tracking, x_refsource_REDHAT
History
- 26 Nov 2026 16:16 UTC · NVD: updated (other details)
- 26 Nov 2026 15:16 UTC · CVE List: first stored (published 12 Nov 2026)
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 12 Nov 2026)