CVE-2026-86322: Insecure Direct Object Reference
Published 2026-11-12 · Updated 2026-11-26 · Source secalert@redhat.com
Not known to be exploited · high severity — apply the vendor fix or mitigation in your next patch cycle.
What to do
- Check the references below for the vendor's patched release of the affected product and apply it.
- Until it is patched, restrict network access to the affected product and review which accounts can log in to it.
- Review access logs for requests that walk through identifiers, and restrict the affected endpoint.
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality, integrity and availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: Insecure Direct Object Reference
By changing an identifier in a request, a user can access records that belong to someone else.
Classified as CWE-639.
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.
Advisory text as published in the NVD record.
References
- Advisoryhttps://access.redhat.com/security/cve/CVE-2026-86322
- Referencehttps://access.redhat.com/errata/RHSA-2026:100120
- Referencehttps://access.redhat.com/errata/RHSA-2026:99949
- Referencehttps://access.redhat.com/errata/RHSA-2026:99950
- Referencehttps://access.redhat.com/errata/RHSA-2026:99952
- Referencehttps://bugzilla.redhat.com/show_bug.cgi?id=2529289