cve.bz

CVE-2026-86322

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

8.8 highFix available

High (8.8) in red hat.

On this page
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 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-639 Authorization Bypass Through User-Controlled Key
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-86322 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-86322?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-86322?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-86322 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-86322

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-86322](https://cve.bz/cve/badge/CVE-2026-86322.svg)](https://cve.bz/cve/CVE-2026-86322)

HTML:

<a href="https://cve.bz/cve/CVE-2026-86322"><img src="https://cve.bz/cve/badge/CVE-2026-86322.svg" alt="CVE-2026-86322"></a>

Affected

  • red hat:red hat satellite 6.16 for rhel 8
  • red hat:red hat satellite 6.16 for rhel 9
  • red hat:red hat satellite 6.17 for rhel 9
  • red hat:red hat satellite 6.18 for rhel 9

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Satellite 6.16 for RHEL 80:3.12.0.26-1.el8sat
Red Hat Satellite 6.16 for RHEL 90:3.12.0.26-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:3.14.0.26-1.el9sat
Red Hat Satellite 6.18 for RHEL 90:3.16.0.29-1.el9sat

References

Check your stackJSON