Read the docs

Foreman authorization bypass lets users create tokens for others

Priority MEDIUM 40CWE-639Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00427 37th percentileScored 2026-11-16
Fix Fixed Red Hat: 4 advisories

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

VendorProductAffected versionsFixed inStatusSource
Red HatRed Hat Satellite 6.16 for RHEL 8—3.12.0.26-1.el8satPatch availableCNA
Red HatRed Hat Satellite 6.16 for RHEL 9—3.12.0.26-1.el9satPatch availableCNA
Red HatRed Hat Satellite 6.17 for RHEL 9—3.14.0.26-1.el9satPatch availableCNA
Red HatRed Hat Satellite 6.18 for RHEL 9—3.16.0.29-1.el9satPatch availableCNA
Red HatRed Hat Satellite 6.19 for RHEL 9—3.18.0.19-1.el9satPatch availableCNA
  • 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

CPEVersionsRoleVendor
cpe:/a:redhat:satellite:6.16::el86.16—Red Hat
cpe:/a:redhat:satellite:6.16::el96.16—Red Hat
cpe:/a:redhat:satellite_capsule:6.16::el86.16—Red Hat
cpe:/a:redhat:satellite_capsule:6.16::el96.16—Red Hat
cpe:/a:redhat:satellite_utils:6.16::el86.16—Red Hat
cpe:/a:redhat:satellite_utils:6.16::el96.16—Red Hat
cpe:/a:redhat:satellite:6.17::el96.17—Red Hat
cpe:/a:redhat:satellite_capsule:6.17::el96.17—Red Hat
cpe:/a:redhat:satellite_maintenance:6.17::el96.17—Red Hat
cpe:/a:redhat:satellite_utils:6.17::el96.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
CPEVersionsRoleVendor
cpe:/a:redhat:satellite:6.18::el96.18—Red Hat
cpe:/a:redhat:satellite_capsule:6.18::el96.18—Red Hat
cpe:/a:redhat:satellite_maintenance:6.18::el96.18—Red Hat
cpe:/a:redhat:satellite_utils:6.18::el96.18—Red Hat
cpe:/a:redhat:satellite:6.19::el96.19—Red Hat
cpe:/a:redhat:satellite_capsule:6.19::el96.19—Red Hat
cpe:/a:redhat:satellite_utils:6.19::el96.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 Critical
    Satellite 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 Critical
    Satellite 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 Critical
    Satellite 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 Critical
    Satellite 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 →

ProductStatusPlan or fix
Red Hat Satellite 6.16 for RHEL 8Fixed RHSA-2026:99949
Red Hat Satellite 6.16 for RHEL 9Fixed RHSA-2026:99949
Red Hat Satellite 6.17 for RHEL 9Fixed RHSA-2026:99950
Red Hat Satellite 6.18 for RHEL 9Fixed RHSA-2026:99952
Red Hat Satellite 6.19 for RHEL 9Fixed 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

  1. 2026-11-12 Threatist record created from CVE-2026-86322
  2. 2026-11-12 Alias added: GHSA-h4jq-48pm-fr95
  3. 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
  4. 2026-11-13 3 new references · CNA
  5. 2026-11-13 Fix available: RHSA-2026:99949 · Red Hat
  6. 2026-11-13 Fix available: RHSA-2026:99952 · Red Hat
  7. 2026-11-13 Fix available: RHSA-2026:99950 · Red Hat
  8. 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
  9. 2026-11-13 CVSS score added · Red Hat
  10. 2026-11-13 Fix available: foreman@0:3.18.0.19-1.el9sat · CNA
  11. 2026-11-13 1 new reference · CNA
  12. 2026-11-13 CISA SSVC decision points changed
  13. 2026-11-14 Fix available: RHSA-2026:100120 · Red Hat
  14. 2026-11-14 Fix available: Red Hat Satellite 6.19 for RHEL 9 · Red Hat

References

  • 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
See all 7494 →

Sources