新着 / 2026年11月27日 / CVE-2026-86322
Foreman APIの認可不備によるアカウント乗っ取りの脆弱性
掲載
何が問題か
Foremanの個人アクセストークン作成APIにおいて、対象ユーザーの親ユーザーに対する認可チェックが行われていない問題が報告されています。create_personal_access_tokens権限を持つ攻撃者が、他のユーザーのIDを指定して、そのユーザー名義のトークンを作成できる可能性があります。作成されたトークンは API レスポンスで平文として返されると説明されています。
悪用されると
攻撃者が作成した偽造トークンを使って被害者としてログインでき、管理者アカウントを含むアカウントの乗っ取りにつながる可能性があります。実際の悪用の有無は公表されていません。
取るべき対応
Foremanの修正版への更新を速やかに検討してください。修正版の番号は公表されていません。更新までは、create_personal_access_tokens権限を付与するユーザーを必要最小限に限定することを推奨します。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v3.1) | 重要 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 30日以内に悪用される確率(EPSS) | 0.6%(全体の上位 59.4%) |
| 問題の種類 | CWE-639 |
| CVE公開日 | 2026-11-12 |
出典
- NVD: CVE-2026-86322
- https://access.redhat.com/errata/RHSA-2026:100120
- https://access.redhat.com/errata/RHSA-2026:99949
- https://access.redhat.com/errata/RHSA-2026:99950
- https://access.redhat.com/errata/RHSA-2026:99952
- https://access.redhat.com/security/cve/CVE-2026-86322
- https://bugzilla.redhat.com/show_bug.cgi?id=2529289
公式の説明(英語の原文)
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.