CVE-2026-86322

Foreman: authorization flaw in the foreman::controller::useraware#find_user handling used by api::v2::personalaccesstokenscontroller

  • High 8.8

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.

Key facts

Published
12 Nov 2026
Last changed
13 Nov 2026
Assigned by
redhat
EPSS
0.427% likely to be exploited in the next 30 days, higher than 37.447% of CVEs (scores for 15 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: total

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 8.8CVSS 3.1, Highfrom the CNA (redhat)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
Red HatRed Hat Satellite 6.16 for RHEL 8
  • Default status: affected
  • 0:3.12.0.26-1.el8sat up to but excluding * (unaffected)
Red HatRed Hat Satellite 6.16 for RHEL 9
  • Default status: affected
  • 0:3.12.0.26-1.el9sat up to but excluding * (unaffected)
Red HatRed Hat Satellite 6.17 for RHEL 9
  • Default status: affected
  • 0:3.14.0.26-1.el9sat up to but excluding * (unaffected)
Red HatRed Hat Satellite 6.18 for RHEL 9
  • Default status: affected
  • 0:3.16.0.29-1.el9sat up to but excluding * (unaffected)
Red HatRed Hat Satellite 6.19 for RHEL 9
  • Default status: affected
  • 0:3.18.0.19-1.el9sat up to but excluding * (unaffected)

Timeline

  1. 7 Sep 2026 Reported to Red Hat.
  2. 12 Nov 2026 Made public.
  3. 12 Nov 2026 Published

Weakness

References