Security mailing lists by PureSourceCode

CVE-2026-86322

HIGH 8.8CVSS 3.1

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.

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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://access.redhat.com/downloads/content/package-browser/ foreman
cpe:/a:redhat:satellite:6.16::el8
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ foreman
cpe:/a:redhat:satellite:6.16::el8
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ foreman
cpe:/a:redhat:satellite:6.17::el9
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ foreman
cpe:/a:redhat:satellite:6.18::el9
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ foreman
cpe:/a:redhat:satellite:6.19::el9
all versions

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.