CVE-2026-96658 Foreman: foreman: arbitrary code execution via safemode sandbox bypass
HighCVSS 8.8
EPSS 0.72%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Red Hat
Description
A flaw was found in Foreman. This vulnerability allows an authenticated remote attacker with low-level read permissions to achieve arbitrary code execution on the underlying server. By manipulating the permitted methods list within the template rendering engine, an attacker can bypass the safemode sandbox isolation and execute unauthorized commands directly on the host system.
Upgrade path
19 packages: 19 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat satellite | < 0:0.1.0-2.1.el9sat; < 0:0.6.0-1.el9pc; < 0:1.5.0-2.el8sat; < 0:1.5.0-2.el9sat +13 more | 0:0.1.0-2.1.el9sat, 0:0.6.0-1.el9pc, 0:1.5.0-2.el8sat, 0:1.5.0-2.el9sat, 0:3.1.62-1.el9pc, 0:3.2.13-1.el9pc, 0:3.14.0-2.el9sat, 0:3.14.0.22-1.el9sat, 0:3.18.0.14-1.el9sat, 0:4.16.0.20-1.el9sat, 0:5.3.1-2.el9pc, 0:6.17.12-1.el9sat, 0:15.0.2-2.el9sat, 6.16.4, 6.17.12, 6.18.10, 6.19.5 | Fixed |
| redhat satellite(Red Hat satellite_utils 6.17 el9) | < 6.17.12-1.el9sat | 6.17.12-1.el9sat | Fixed |
| redhat satellite capsule | < 0:0.1.0-2.1.el9sat; < 0:0.6.0-1.el9pc; < 0:1.5.0-2.el8sat; < 0:1.5.0-2.el9sat +9 more | 0:0.1.0-2.1.el9sat, 0:0.6.0-1.el9pc, 0:1.5.0-2.el8sat, 0:1.5.0-2.el9sat, 0:3.1.62-1.el9pc, 0:3.2.13-1.el9pc, 0:3.14.0-2.el9sat, 0:3.14.0.22-1.el9sat, 0:3.18.0.14-1.el9sat, 0:4.16.0.20-1.el9sat, 0:5.3.1-2.el9pc, 0:6.17.12-1.el9sat, 0:15.0.2-2.el9sat | Fixed |
| redhat satellite utils | < 0:0.1.0-2.1.el9sat; < 0:0.6.0-1.el9pc; < 0:1.5.0-2.el8sat; < 0:1.5.0-2.el9sat +9 more | 0:0.1.0-2.1.el9sat, 0:0.6.0-1.el9pc, 0:1.5.0-2.el8sat, 0:1.5.0-2.el9sat, 0:3.1.62-1.el9pc, 0:3.2.13-1.el9pc, 0:3.14.0-2.el9sat, 0:3.14.0.22-1.el9sat, 0:3.18.0.14-1.el9sat, 0:4.16.0.20-1.el9sat, 0:5.3.1-2.el9pc, 0:6.17.12-1.el9sat, 0:15.0.2-2.el9sat | Fixed |
| redhat/foreman(Red Hat satellite_utils 6.17 el9) | < 3.14.0.22-1.el9sat | 3.14.0.22-1.el9sat | Fixed |
| redhat/foreman(Red Hat satellite_utils 6.19 el9) | < 3.18.0.14-1.el9sat | 3.18.0.14-1.el9sat | Fixed |
| redhat/python-dynaconf(Red Hat satellite_utils 6.17 el9) | < 3.2.13-1.el9pc | 3.2.13-1.el9pc | Fixed |
| redhat/python-gitpython(Red Hat satellite_utils 6.17 el9) | < 3.1.62-1.el9pc | 3.1.62-1.el9pc | Fixed |
| redhat/python-lxml(Red Hat satellite_utils 6.17 el9) | < 5.3.1-2.el9pc | 5.3.1-2.el9pc | Fixed |
| redhat/python-sqlparse(Red Hat satellite_utils 6.17 el9) | < 0.6.0-1.el9pc | 0.6.0-1.el9pc | Fixed |
| redhat/rubygem-foreman_remote_execution(Red Hat satellite_utils 6.17 el9) | < 15.0.2-2.el9sat | 15.0.2-2.el9sat | Fixed |
| redhat/rubygem-hammer_cli(Red Hat satellite_utils 6.17 el9) | < 3.14.0-2.el9sat | 3.14.0-2.el9sat | Fixed |
| redhat/rubygem-katello(Red Hat satellite_utils 6.17 el9) | < 4.16.0.20-1.el9sat | 4.16.0.20-1.el9sat | Fixed |
| redhat/rubygem-safemode(Red Hat satellite 6.16 el8) | < 1.5.0-2.el8sat | 1.5.0-2.el8sat | Fixed |
| redhat/rubygem-safemode(Red Hat satellite 6.16 el9) | < 1.5.0-2.el9sat | 1.5.0-2.el9sat | Fixed |
| redhat/rubygem-safemode(Red Hat satellite 6.18 el9) | < 1.5.0-2.el9sat | 1.5.0-2.el9sat | Fixed |
| redhat/rubygem-safemode(Red Hat satellite_utils 6.17 el9) | < 1.5.0-2.el9sat | 1.5.0-2.el9sat | Fixed |
| redhat/yggdrasil-worker-forwarder(Red Hat satellite_utils 6.17 el9) | < 0.1.0-2.1.el9sat | 0.1.0-2.1.el9sat | Fixed |
| theforeman foreman | < 2.0.1; = 3.19.0; = 3.19.1; = 5.0.0 | 2.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/rubygem-safemode(Red Hat:satellite:6.16::el8) | < 1.5.0-2.el8sat | 1.5.0-2.el8sat |
| redhat/rubygem-safemode(Red Hat:satellite:6.16::el9) | < 1.5.0-2.el9sat | 1.5.0-2.el9sat |
| redhat/foreman(Red Hat:satellite_utils:6.17::el9) | < 3.14.0.22-1.el9sat | 3.14.0.22-1.el9sat |
| redhat/python-dynaconf(Red Hat:satellite_utils:6.17::el9) | < 3.2.13-1.el9pc | 3.2.13-1.el9pc |
| redhat/python-gitpython(Red Hat:satellite_utils:6.17::el9) | < 3.1.62-1.el9pc | 3.1.62-1.el9pc |
| redhat/python-lxml(Red Hat:satellite_utils:6.17::el9) | < 5.3.1-2.el9pc | 5.3.1-2.el9pc |
| redhat/python-sqlparse(Red Hat:satellite_utils:6.17::el9) | < 0.6.0-1.el9pc | 0.6.0-1.el9pc |
| redhat/rubygem-foreman_remote_execution(Red Hat:satellite_utils:6.17::el9) | < 15.0.2-2.el9sat | 15.0.2-2.el9sat |
| redhat/rubygem-hammer_cli(Red Hat:satellite_utils:6.17::el9) | < 3.14.0-2.el9sat | 3.14.0-2.el9sat |
| redhat/rubygem-katello(Red Hat:satellite_utils:6.17::el9) | < 4.16.0.20-1.el9sat | 4.16.0.20-1.el9sat |
| redhat/rubygem-safemode(Red Hat:satellite_utils:6.17::el9) | < 1.5.0-2.el9sat | 1.5.0-2.el9sat |
| redhat satellite(Red Hat:satellite_utils:6.17::el9) | < 6.17.12-1.el9sat | 6.17.12-1.el9sat |
| redhat/yggdrasil-worker-forwarder(Red Hat:satellite_utils:6.17::el9) | < 0.1.0-2.1.el9sat | 0.1.0-2.1.el9sat |
| redhat/rubygem-safemode(Red Hat:satellite:6.18::el9) | < 1.5.0-2.el9sat | 1.5.0-2.el9sat |
| redhat/foreman(Red Hat:satellite_utils:6.19::el9) | < 3.18.0.14-1.el9sat | 3.18.0.14-1.el9sat |
| redhat satellite | < 0:1.5.0-2.el8sat | 0:1.5.0-2.el8sat |
| redhat satellite capsule | < 0:1.5.0-2.el8sat | 0:1.5.0-2.el8sat |
| redhat satellite utils | < 0:1.5.0-2.el8sat | 0:1.5.0-2.el8sat |
| redhat satellite | < 0:1.5.0-2.el9sat | 0:1.5.0-2.el9sat |
| redhat satellite capsule | < 0:1.5.0-2.el9sat | 0:1.5.0-2.el9sat |
| redhat satellite utils | < 0:1.5.0-2.el9sat | 0:1.5.0-2.el9sat |
| redhat satellite | < 0:3.14.0.22-1.el9sat | 0:3.14.0.22-1.el9sat |
| redhat satellite capsule | < 0:3.14.0.22-1.el9sat | 0:3.14.0.22-1.el9sat |
| redhat satellite utils | < 0:3.14.0.22-1.el9sat | 0:3.14.0.22-1.el9sat |
| redhat satellite | < 0:3.2.13-1.el9pc | 0:3.2.13-1.el9pc |
Show 37 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat satellite capsule | < 0:3.2.13-1.el9pc | 0:3.2.13-1.el9pc |
| redhat satellite utils | < 0:3.2.13-1.el9pc | 0:3.2.13-1.el9pc |
| redhat satellite | < 0:3.1.62-1.el9pc | 0:3.1.62-1.el9pc |
| redhat satellite capsule | < 0:3.1.62-1.el9pc | 0:3.1.62-1.el9pc |
| redhat satellite utils | < 0:3.1.62-1.el9pc | 0:3.1.62-1.el9pc |
| redhat satellite | < 0:5.3.1-2.el9pc | 0:5.3.1-2.el9pc |
| redhat satellite capsule | < 0:5.3.1-2.el9pc | 0:5.3.1-2.el9pc |
| redhat satellite utils | < 0:5.3.1-2.el9pc | 0:5.3.1-2.el9pc |
| redhat satellite | < 0:0.6.0-1.el9pc | 0:0.6.0-1.el9pc |
| redhat satellite capsule | < 0:0.6.0-1.el9pc | 0:0.6.0-1.el9pc |
| redhat satellite utils | < 0:0.6.0-1.el9pc | 0:0.6.0-1.el9pc |
| redhat satellite | < 0:15.0.2-2.el9sat | 0:15.0.2-2.el9sat |
| redhat satellite capsule | < 0:15.0.2-2.el9sat | 0:15.0.2-2.el9sat |
| redhat satellite utils | < 0:15.0.2-2.el9sat | 0:15.0.2-2.el9sat |
| redhat satellite | < 0:3.14.0-2.el9sat | 0:3.14.0-2.el9sat |
| redhat satellite capsule | < 0:3.14.0-2.el9sat | 0:3.14.0-2.el9sat |
| redhat satellite utils | < 0:3.14.0-2.el9sat | 0:3.14.0-2.el9sat |
| redhat satellite | < 0:4.16.0.20-1.el9sat | 0:4.16.0.20-1.el9sat |
| redhat satellite capsule | < 0:4.16.0.20-1.el9sat | 0:4.16.0.20-1.el9sat |
| redhat satellite utils | < 0:4.16.0.20-1.el9sat | 0:4.16.0.20-1.el9sat |
| redhat satellite | < 0:6.17.12-1.el9sat | 0:6.17.12-1.el9sat |
| redhat satellite capsule | < 0:6.17.12-1.el9sat | 0:6.17.12-1.el9sat |
| redhat satellite utils | < 0:6.17.12-1.el9sat | 0:6.17.12-1.el9sat |
| redhat satellite | < 0:0.1.0-2.1.el9sat | 0:0.1.0-2.1.el9sat |
| redhat satellite capsule | < 0:0.1.0-2.1.el9sat | 0:0.1.0-2.1.el9sat |
| redhat satellite utils | < 0:0.1.0-2.1.el9sat | 0:0.1.0-2.1.el9sat |
| redhat satellite | < 0:3.18.0.14-1.el9sat | 0:3.18.0.14-1.el9sat |
| redhat satellite capsule | < 0:3.18.0.14-1.el9sat | 0:3.18.0.14-1.el9sat |
| redhat satellite utils | < 0:3.18.0.14-1.el9sat | 0:3.18.0.14-1.el9sat |
| redhat satellite | >= 6.16, < 6.16.4 | 6.16.4 |
| redhat satellite | >= 6.17, < 6.17.12 | 6.17.12 |
| redhat satellite | >= 6.19, < 6.19.5 | 6.19.5 |
| redhat satellite | >= 6.18, < 6.18.10 | 6.18.10 |
| theforeman foreman | < 2.0.1 | 2.0.1 |
| theforeman foreman | = 3.19.0 | No fix listed |
| theforeman foreman | = 3.19.1 | No fix listed |
| theforeman foreman | = 5.0.0 | No fix listed |
References
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHSA-2026:74506 patch vendor-advisory
- RHSA-2026:74505 patch vendor-advisory
- RHSA-2026:74504 patch vendor-advisory
- RHSA-2026:74503 patch vendor-advisory
- Red Hat Bugzilla 2534185 issue-tracking vendor-advisory
- www.cve.org
- nvd.nist.gov
- www.openwall.com mailing-list patch third-party-advisory
- ENISA EUVD EUVD-2026-90921 third-party-advisory