Foreman authorization bypass lets users create tokens for others
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-639.
Summary
Foreman's personal access token API does not check that the caller may edit the target user, so it resolves accounts through an unchecked lookup (CWE-639). An attacker with the create_personal_access_tokens permission can create a token for another user by ID, and the plaintext token is returned in the response. The forged token can authenticate as the victim, which may lead to full account takeover, including administrator accounts. Red Hat Satellite 6.16, 6.17, 6.18 and 6.19 are affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-14
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat Satellite 6.16 for RHEL 8 | — | 3.12.0.26-1.el8sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.16 for RHEL 9 | — | 3.12.0.26-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 3.14.0.26-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.18 for RHEL 9 | — | 3.16.0.29-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.19 for RHEL 9 | — | 3.18.0.19-1.el9sat | Patch available | CNA |
- Red Hat Satellite 6.16 for RHEL 8 VendorRed Hat Affected — Fixed in 3.12.0.26-1.el8sat Patch available CNA
- Red Hat Satellite 6.16 for RHEL 9 VendorRed Hat Affected — Fixed in 3.12.0.26-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 3.14.0.26-1.el9sat Patch available CNA
- Red Hat Satellite 6.18 for RHEL 9 VendorRed Hat Affected — Fixed in 3.16.0.29-1.el9sat Patch available CNA
- Red Hat Satellite 6.19 for RHEL 9 VendorRed Hat Affected — Fixed in 3.18.0.19-1.el9sat Patch available CNA
CPE names CNA · 17
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:/a:redhat:satellite:6.16::el8 | 6.16 | — | Red Hat |
| cpe:/a:redhat:satellite:6.16::el9 | 6.16 | — | Red Hat |
| cpe:/a:redhat:satellite_capsule:6.16::el8 | 6.16 | — | Red Hat |
| cpe:/a:redhat:satellite_capsule:6.16::el9 | 6.16 | — | Red Hat |
| cpe:/a:redhat:satellite_utils:6.16::el8 | 6.16 | — | Red Hat |
| cpe:/a:redhat:satellite_utils:6.16::el9 | 6.16 | — | Red Hat |
| cpe:/a:redhat:satellite:6.17::el9 | 6.17 | — | Red Hat |
| cpe:/a:redhat:satellite_capsule:6.17::el9 | 6.17 | — | Red Hat |
| cpe:/a:redhat:satellite_maintenance:6.17::el9 | 6.17 | — | Red Hat |
| cpe:/a:redhat:satellite_utils:6.17::el9 | 6.17 | — | Red Hat |
- cpe:/a:redhat:satellite:6.16::el8 Versions 6.16 — ·Red Hat
- cpe:/a:redhat:satellite:6.16::el9 Versions 6.16 — ·Red Hat
- cpe:/a:redhat:satellite_capsule:6.16::el8 Versions 6.16 — ·Red Hat
- cpe:/a:redhat:satellite_capsule:6.16::el9 Versions 6.16 — ·Red Hat
- cpe:/a:redhat:satellite_utils:6.16::el8 Versions 6.16 — ·Red Hat
- cpe:/a:redhat:satellite_utils:6.16::el9 Versions 6.16 — ·Red Hat
- cpe:/a:redhat:satellite:6.17::el9 Versions 6.17 — ·Red Hat
- cpe:/a:redhat:satellite_capsule:6.17::el9 Versions 6.17 — ·Red Hat
- cpe:/a:redhat:satellite_maintenance:6.17::el9 Versions 6.17 — ·Red Hat
- cpe:/a:redhat:satellite_utils:6.17::el9 Versions 6.17 — ·Red Hat
Show 7 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:/a:redhat:satellite:6.18::el9 | 6.18 | — | Red Hat |
| cpe:/a:redhat:satellite_capsule:6.18::el9 | 6.18 | — | Red Hat |
| cpe:/a:redhat:satellite_maintenance:6.18::el9 | 6.18 | — | Red Hat |
| cpe:/a:redhat:satellite_utils:6.18::el9 | 6.18 | — | Red Hat |
| cpe:/a:redhat:satellite:6.19::el9 | 6.19 | — | Red Hat |
| cpe:/a:redhat:satellite_capsule:6.19::el9 | 6.19 | — | Red Hat |
| cpe:/a:redhat:satellite_utils:6.19::el9 | 6.19 | — | Red Hat |
- cpe:/a:redhat:satellite:6.18::el9 Versions 6.18 — ·Red Hat
- cpe:/a:redhat:satellite_capsule:6.18::el9 Versions 6.18 — ·Red Hat
- cpe:/a:redhat:satellite_maintenance:6.18::el9 Versions 6.18 — ·Red Hat
- cpe:/a:redhat:satellite_utils:6.18::el9 Versions 6.18 — ·Red Hat
- cpe:/a:redhat:satellite:6.19::el9 Versions 6.19 — ·Red Hat
- cpe:/a:redhat:satellite_capsule:6.19::el9 Versions 6.19 — ·Red Hat
- cpe:/a:redhat:satellite_utils:6.19::el9 Versions 6.19 — ·Red Hat
Remediation
Red Hat Satellite 6.16 for RHEL 8 is fixed in package 3.12.0.26-1.el8sat, and Red Hat Satellite 6.16 for RHEL 9 is fixed in 3.12.0.26-1.el9sat, both in RHSA-2026:99949. Red Hat Satellite 6.17 for RHEL 9 is fixed in 3.14.0.26-1.el9sat (RHSA-2026:99950). Red Hat Satellite 6.18 for RHEL 9 is fixed in 3.16.0.29-1.el9sat (RHSA-2026:99952). Red Hat Satellite 6.19 for RHEL 9 is fixed in 3.18.0.19-1.el9sat (RHSA-2026:100120).
Written with Claude Haiku 5.5 from the sources below · 2026-11-14
Red Hat 4 advisories
- RHSA-2026:100120 Released 2026-11-13 · Red Hat rating CriticalSatellite 6.19.6 Async Update
- Red Hat Satellite 6.19 for RHEL 9 candlepin-4.7.7-2.el9sat, candlepin-selinux-4.7.7-2.el9sat, createrepo_c-1.2.6-1.el9pc +39
- RHSA-2026:99950 Released 2026-11-12 · Red Hat rating CriticalSatellite 6.17.13 Async Update
- Red Hat Satellite 6.17 for RHEL 9 ansible-core-1:2.16.19-4.el9sat, ansible-test-1:2.16.19-4.el9sat, candlepin-4.4.26-2.el9sat +30
- RHSA-2026:99952 Released 2026-11-12 · Red Hat rating CriticalSatellite 6.18.11 Async Update
- Red Hat Satellite 6.18 for RHEL 9 ansible-core-1:2.16.19-4.el9sat, ansible-test-1:2.16.19-4.el9sat, candlepin-4.6.7-2.el9sat +25
Show 1 more Red Hat advisories
- RHSA-2026:99949 Released 2026-11-12 · Red Hat rating CriticalSatellite 6.16.15 Async Update
- Red Hat Satellite 6.16 for RHEL 8 candlepin-4.4.26-2.el8sat, candlepin-selinux-4.4.26-2.el8sat, foreman-3.12.0.26-1.el8sat +28
- Red Hat Satellite 6.16 for RHEL 9 candlepin-4.4.26-2.el9sat, candlepin-selinux-4.4.26-2.el9sat, foreman-3.12.0.26-1.el9sat +28
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Satellite 6.16 for RHEL 8 | Fixed | RHSA-2026:99949 |
| Red Hat Satellite 6.16 for RHEL 9 | Fixed | RHSA-2026:99949 |
| Red Hat Satellite 6.17 for RHEL 9 | Fixed | RHSA-2026:99950 |
| Red Hat Satellite 6.18 for RHEL 9 | Fixed | RHSA-2026:99952 |
| Red Hat Satellite 6.19 for RHEL 9 | Fixed | RHSA-2026:100120 |
Not affected: 5 products
- Red Hat Satellite 6.16 for RHEL 8
- Red Hat Satellite 6.16 for RHEL 9
- Red Hat Satellite 6.17 for RHEL 9
- Red Hat Satellite 6.18 for RHEL 9
- Red Hat Satellite 6.19 for RHEL 9
Timeline
- 2026-11-12 Threatist record created from CVE-2026-86322
- 2026-11-12 Alias added: GHSA-h4jq-48pm-fr95
- 2026-11-13 Fix available: foreman@0:3.12.0.26-1.el8sat, foreman@0:3.12.0.26-1.el9sat, foreman@0:3.14.0.26-1.el9sat +1 · CNA
- 2026-11-13 3 new references · CNA
- 2026-11-13 Fix available: RHSA-2026:99949 · Red Hat
- 2026-11-13 Fix available: RHSA-2026:99952 · Red Hat
- 2026-11-13 Fix available: RHSA-2026:99950 · Red Hat
- 2026-11-13 Fix available: Red Hat Satellite 6.16 for RHEL 8, Red Hat Satellite 6.16 for RHEL 9, Red Hat Satellite 6.17 for RHEL 9 +1 · Red Hat
- 2026-11-13 CVSS score added · Red Hat
- 2026-11-13 Fix available: foreman@0:3.18.0.19-1.el9sat · CNA
- 2026-11-13 1 new reference · CNA
- 2026-11-13 CISA SSVC decision points changed
- 2026-11-14 Fix available: RHSA-2026:100120 · Red Hat
- 2026-11-14 Fix available: Red Hat Satellite 6.19 for RHEL 9 · Red Hat
References
More Red Hat vulnerabilities
- TI-2019-15875 Sandbox bypass in Jenkins Pipeline: Groovy Plugin runs code KEVCVSS 3.1CRITICAL 9.9
- TI-2019-15874 Sandbox bypass in Jenkins Script Security Plugin allows code execution KEVCVSS 3.1CRITICAL 9.9
- TI-2019-08259 Buffer underflow in PHP-FPM allows remote code execution KEVCVSS 3.1CRITICAL 9.8
- TI-2019-05363 Arbitrary code execution in Kibana Timelion visualizer KEVCVSS 3.1CRITICAL 10.0
- TI-2019-03949 Out-of-bounds write in OpenSLP in VMware ESXi and Horizon DaaS KEVCVSS 3.1CRITICAL 9.8
- TI-2018-16080 Jenkins Stapler Framework Code Execution via Crafted URLs KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-86322 · CVE Program
- CVE-2026-86322 · NVD
- FIRST EPSS
- GHSA-h4jq-48pm-fr95 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-86322 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences