Vulnerability
Published 2026-10-01
Updated 2026-11-05
Verified 2026-11-06

Foreman / Red Hat Satellite CVE-2026-96658 (CVSS 8.8): safemode sandbox bypass → auth'd RCE; RHSA-2026:74503–74506

Red Hat CNA CVE-2026-96658 (published 1 October 2026; CVSS 3.1 8.8 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H and Red Hat severity Important, per the record as updated 2 November): authenticated low-privilege attacker can achieve remote code execution by bypassing the Foreman templating safemode sandbox — improper handling of delegated methods lets an attacker append unauthorised functions to the allowed execution list and run arbitrary commands on the hosting server. Red Hat Product Security originally rated it Critical because a user with minimal read/view permissions can RCE the underlying Satellite host where Foreman relies on the sandbox to render templates.

Fixed packages shipped 1 Oct via RHSA-2026:74506 (Satellite 6.16 el8/el9 rubygem-safemode 0:1.5.0-2), RHSA-2026:74504 (Satellite 6.18 el9 rubygem-safemode), and RHSA-2026:74503 (Satellite Utils 6.19 el9 foreman 0:3.18.0.14-1). Bugzilla 2534185. (source: Red Hat CVE)

Correction (5 Nov 2026): the card gave Red Hat's score as CVSS 3.1 9.9 Critical (scope changed). Red Hat's CVE record, updated 2 November, now scores it CVSS 3.1 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) with Red Hat severity Important, and also lists Red Hat Satellite 6.17 for RHEL 9 as affected, with fixed packages including foreman 0:3.14.0.22-1.el9sat, rubygem-safemode 0:1.5.0-2.el9sat and satellite 0:6.17.12-1.el9sat. (source: CVE-2026-96658 record (cve.org))

Product
Foreman templating safemode (Red Hat Satellite 6.16 / 6.18 / 6.19)
Versions
Affected: Red Hat Satellite 6.16 (el8/el9), 6.17 (el9), 6.18 (el9), Satellite Utils 6.19 (el9) prior to the RHSA packages below. Fixed packages: rubygem-safemode 0:1.5.0-2.el8sat / 0:1.5.0-2.el9sat (RHSA-2026:74506 / 74504); foreman 0:3.18.0.14-1.el9sat (RHSA-2026:74503). Satellite 6.17 (el9, per the CVE record updated 2 Nov): fixed in foreman 0:3.14.0.22-1.el9sat, rubygem-safemode 0:1.5.0-2.el9sat, satellite 0:6.17.12-1.el9sat.
CVSS
(CVSS 3.1; Red Hat, severity Important)
Exploited in Australia?
unknown
Patch to
Apply RHSA-2026:74503 / 74504 / 74506 (or later Satellite errata containing the fixed rubygem-safemode / foreman builds); on Satellite 6.17, update to the fixed packages the CVE record lists (satellite 6.17.12-1, foreman 3.14.0.22-1). Restrict template/view privileges on Satellite/Foreman until patched; treat low-privilege Viewer accounts as high risk on unpatched hosts.

vulnerabilities cloud identity