LearnCTEM.com, Best CTEM Learning Platform
CVE Intelligence Hub

CVE-2026-86322: Red Hat Foreman’s Api::V2::PersonalAccessTokensController Insecure Direct Object Reference Vulnerability

CVE-2026-86322 explained: high Insecure Direct Object Reference in Red Hat Foreman’s Api::V2::PersonalAccessTokensController. CVSS 8.8. Affected versions, detection,

Last updated: Nov 12, 2026

CVSS
8.8 HIGH
EPSS
n/a
CISA KEV
Not listed
CWE
CWE-639

Sources: National Vulnerability Database, CVE.org, CISA KEV, FIRST EPSS

CVE-2026-86322 Overview

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.

Critical Impact

Remote, authenticated attackers can exploit this Insecure Direct Object Reference in Red Hat Foreman’s Api::V2::PersonalAccessTokensController. The CVSS base score is 8.8 (High).

Affected Products

  • Red Hat Foreman’s Api::V2::PersonalAccessTokensController: see the vendor advisory for the exact affected versions

Discovery Timeline

  • 2026-11-12: CVE-2026-86322 published to the National Vulnerability Database by secalert@redhat.com
  • 2026-11-12: last updated in the NVD database

Technical Details for CVE-2026-86322

Vulnerability Analysis

CVE-2026-86322 is a Insecure Direct Object Reference weakness (CWE-639: Insecure Direct Object Reference) in Red Hat Foreman’s Api::V2::PersonalAccessTokensController. Based on its CVSS vector, the flaw can be reached over the network, needs some level of access, and needs no user interaction. Changing an ID in a request exposes another user's data.

With a CVSS base score of 8.8, apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Root Cause

The weakness is classified as CWE-639: Insecure Direct Object Reference. Changing an ID in a request exposes another user's data.

Attack Vector

Based on the CVSS vector, the flaw can be reached over the network, needs some level of access, and needs no user interaction. Attack complexity is low complexity.

No exploitation in the wild is confirmed by CISA at the time of the last update. Check the references below for any vendor or researcher proof of concept.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Detection Methods for CVE-2026-86322

Detection Strategies

  • Inventory every instance of Red Hat Foreman’s Api::V2::PersonalAccessTokensController and compare the running version with the affected range above.
  • Check external attack surface scans for internet facing instances of the component.
  • Run an authenticated vulnerability scan once your scanner ships a check for this CVE.

Monitoring Recommendations

  • Forward Red Hat Foreman’s Api::V2::PersonalAccessTokensController application, access and audit logs to your SIEM for retrospective hunting.
  • Alert on new processes, configuration changes or outbound connections from the affected service.
  • Track the vendor advisory and the CISA KEV catalog for changes in exploitation status.

How to Mitigate CVE-2026-86322

Immediate Actions Required

  • Apply the fixed version of Red Hat Foreman’s Api::V2::PersonalAccessTokensController named in the vendor advisory.
  • Prioritize internet facing and business critical instances first.
  • Rescan after the change to confirm the exposure is closed.

Patch Information

Use the fixed version listed in the vendor advisory for Red Hat Foreman’s Api::V2::PersonalAccessTokensController.

Workarounds

  • If patching must wait, restrict network access to the affected service and place it behind authentication or a web application firewall rule.

CWE References

Technical References

This entry is built directly from NVD, CISA KEV and EPSS data. Verify fixed versions in the vendor advisory before you deploy.

Frequently asked questions

CVE-2026-86322 is a high severity Insecure Direct Object Reference in Red Hat Foreman’s Api::V2::PersonalAccessTokensController with a CVSS score of 8.8. Apply the vendor fix and confirm exposure on internet facing and business critical assets first.

Related CVEs

HIGH7.1
CVE-2026-111456
Red Hat product

A missing authorization check has been found in ConsumerResource.setupOwner() function of consumer registration module in the Candlepin package. The registration method checks permission to create a consumer only when the caller is a user. A consumer that authenticates with its identity certificate does not go through that check. A low-privileged network attacker or user who has a valid consumer certificate for one organization can register a new consumer in a different organization by supplying that organization's key. The response includes an identity certificate for the new consumer. With that certificate, the attacker can view the target organization's subscription pools. When the organization is not using simple content access, the attacker can attach that organization's entitlements to the new consumer.

Nov 12, 2026
HIGH7.7
CVE-2026-107443
Red Hat Foreman

A flaw was found in Foreman. An authenticated user with view_hosts privileges can retrieve rendered provisioning template content for a host via the hosts template API endpoint, disclosing sensitive data such as the host root password. This is an incomplete fix of CVE-2026-96659, which hardened the web UI preview path but left the API host-template render path authorized for Viewer-level users.

Nov 12, 2026
CRITICAL9.6
CVE-2026-107360
Red Hat rubygem-safemode

A flaw was found in rubygem-safemode. Compound assignment expressions in sandboxed code are evaluated without mediating method calls through the Jail allow-list. An authenticated attacker who can supply template content can invoke arbitrary no-argument methods on objects exposed to the template renderer without Jail mediation, including destructive operations such as host deletion and disclosure of non-allow-listed object state.

Nov 12, 2026
HIGH7.1
CVE-2026-107152
Red Hat product

An improper authentication vulnerability has been found in the task console in the smart_proxy_dynflow package. The console accepts any client certificate signed by the capsule's certificate authority. It does not check the list of servers the capsule trusts. A low-privileged network attacker or user must already hold such a certificate. They can open the console and read job details. Those details include passwords when a job was given them. They can also cancel a running task.

Nov 12, 2026
HIGH8.8
CVE-2026-18379
Red Hat yggdrasil-worker-package-manager

A flaw was found in yggdrasil-worker-package-manager. An authenticated attacker can exploit this issue to achieve arbitrary file modification or potential privilege escalation. The vulnerability exists because repository management operations fail to sanitize directory traversal sequences (such as '../') within repository names. By supplying a crafted repository name, an attacker can manipulate the root-level worker process into creating or deleting files outside the intended directory, compromising host system integrity.

Nov 12, 2026
HIGH7.5
CVE-2026-127030
Red Hat freeradius

A flaw was found in freeradius. An improper length validation in the EAP-FAST module allows a stack-based buffer overflow during session ticket processing. A remote, unauthenticated attacker can exploit this flaw by sending a specially crafted handshake request, causing the server process to crash and resulting in a Denial of Service (DoS).

Nov 12, 2026
All Red Hat CVEs in 2026
Your next credential

Earn your free CTEM certification.

Learn to scope, prioritize, validate and mobilize fixes for CVEs like CVE-2026-86322 with a free CTEM certification.

Free to takePublicly verifiable

Beginner / Practitioner / Program Leader

Explore certifications