1. Accueil
  2. Vulnérabilités
  3. CVE-2026-86322

CVE-2026-86322

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

Publiée le 12 nov. 2026 · modifiée le 26 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 45/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Redhat (5 ligne(s))
Redhat
ProduitVersionsCorrigé dansSource
Hat Satellite 6.16 for RHEL 8 Versions non précisées — CNA (éditeur ou attributeur)
Hat Satellite 6.16 for RHEL 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat Satellite 6.17 for RHEL 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat Satellite 6.18 for RHEL 9 Versions non précisées — CNA (éditeur ou attributeur)
Hat Satellite 6.19 for RHEL 9 Versions non précisées — CNA (éditeur ou attributeur)

Correctif

Non renseigné par l’éditeur.

Contournement

Contournementsource officielle

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-639 · Autre (CWE-639)

Comment sont obtenues et calculées ces données