Foreman: foreman: arbitrary code execution via safemode sandbox bypass
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- 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-94.
Summary
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.
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 | — | 1.5.0-2.el8sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.16 for RHEL 9 | — | 1.5.0-2.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 3.14.0.22-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 3.2.13-1.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 3.1.62-1.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 5.3.1-2.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 0.6.0-1.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 15.0.2-2.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 3.14.0-2.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 4.16.0.20-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 1.5.0-2.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 6.17.12-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 0.1.0-2.1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.18 for RHEL 9 | — | 1.5.0-2.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.19 for RHEL 9 | — | 3.18.0.14-1.el9sat | Patch available | CNA |
- Red Hat Satellite 6.16 for RHEL 8 VendorRed Hat Affected — Fixed in 1.5.0-2.el8sat Patch available CNA
- Red Hat Satellite 6.16 for RHEL 9 VendorRed Hat Affected — Fixed in 1.5.0-2.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 3.14.0.22-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 3.2.13-1.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 3.1.62-1.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 5.3.1-2.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 0.6.0-1.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 15.0.2-2.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 3.14.0-2.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 4.16.0.20-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 1.5.0-2.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 6.17.12-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 0.1.0-2.1.el9sat Patch available CNA
- Red Hat Satellite 6.18 for RHEL 9 VendorRed Hat Affected — Fixed in 1.5.0-2.el9sat Patch available CNA
- Red Hat Satellite 6.19 for RHEL 9 VendorRed Hat Affected — Fixed in 3.18.0.14-1.el9sat Patch available CNA
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* | 6.16 to before 6.16.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Running on | Red Hat |
| cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* | 6.17 to before 6.17.12; 6.19 to before 6.19.5 | Vulnerable | Red Hat |
| cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* | before 2.0.1 | Vulnerable | The Foreman Project |
| cpe:2.3:a:theforeman:foreman:3.19.0:*:*:*:*:*:*:* | 3.19.0 | Vulnerable | The Foreman Project |
| cpe:2.3:a:theforeman:foreman:3.19.1:*:*:*:*:*:*:* | 3.19.1 | Vulnerable | The Foreman Project |
| cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:* | 5.0.0 | Vulnerable | The Foreman Project |
| cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* | 6.18 to before 6.18.10 | Vulnerable | Red Hat |
- cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* Versions 6.16 to before 6.16.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Running on ·Red Hat
- cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* Versions 6.17 to before 6.17.12; 6.19 to before 6.19.5 Vulnerable ·Red Hat
- cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* Versions before 2.0.1 Vulnerable ·The Foreman Project
- cpe:2.3:a:theforeman:foreman:3.19.0:*:*:*:*:*:*:* Versions 3.19.0 Vulnerable ·The Foreman Project
- cpe:2.3:a:theforeman:foreman:3.19.1:*:*:*:*:*:*:* Versions 3.19.1 Vulnerable ·The Foreman Project
- cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:* Versions 5.0.0 Vulnerable ·The Foreman Project
- cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* Versions 6.18 to before 6.18.10 Vulnerable ·Red Hat
Remediation
Red Hat 4 advisories
- RHSA-2026:74506 Released 2026-10-01 · Red Hat rating CriticalSatellite 6.16.14 Async Update
- Red Hat Satellite 6.16 for RHEL 8 foreman-3.12.0.23-1.el8sat, foreman-cli-3.12.0.23-1.el8sat, foreman-debug-3.12.0.23-1.el8sat +32
- Red Hat Satellite 6.16 for RHEL 9 foreman-3.12.0.23-1.el9sat, foreman-cli-3.12.0.23-1.el9sat, foreman-debug-3.12.0.23-1.el9sat +32
- RHSA-2026:74505 Released 2026-10-01 · Red Hat rating CriticalSatellite 6.17.12 Async Update
- Red Hat Satellite 6.17 for RHEL 9 foreman-3.14.0.22-1.el9sat, foreman-cli-3.14.0.22-1.el9sat, foreman-debug-3.14.0.22-1.el9sat +31
- RHSA-2026:74504 Released 2026-10-01 · Red Hat rating CriticalSatellite 6.18.10 Async Update
- Red Hat Satellite 6.18 for RHEL 9 foreman-3.16.0.25-1.el9sat, foreman-cli-3.16.0.25-1.el9sat, foreman-debug-3.16.0.25-1.el9sat +26
Show 1 more Red Hat advisories
- RHSA-2026:74503 Released 2026-10-01 · Red Hat rating CriticalSatellite 6.19.5 Async Update
- Red Hat Satellite 6.19 for RHEL 9 foreman-3.18.0.14-1.el9sat, foreman-cli-3.18.0.14-1.el9sat, foreman-debug-3.18.0.14-1.el9sat +19
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:74506 |
| Red Hat Satellite 6.16 for RHEL 9 | Fixed | RHSA-2026:74506 |
| Red Hat Satellite 6.17 for RHEL 9 | Fixed | RHSA-2026:74505 |
| Red Hat Satellite 6.18 for RHEL 9 | Fixed | RHSA-2026:74504 |
| Red Hat Satellite 6.19 for RHEL 9 | Fixed | RHSA-2026:74503 |
Not affected: 4 products
- Red Hat Satellite 6.16 for RHEL 8
- Red Hat Satellite 6.16 for RHEL 9
- Red Hat Satellite 6.18 for RHEL 9
- Red Hat Satellite 6.19 for RHEL 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-96658
- 2026-10-03 Alias added: GHSA-g2wg-rx2f-4j5r
- 2026-10-04 EPSS moved to the 50th–90th percentile
- 2026-10-18 Title updated · CNA
- 2026-10-18 CVSS score changed · CNA
- 2026-10-18 Weakness changed · CNA
- 2026-10-18 Affected versions changed · Red Hat
- 2026-10-18 CVSS score changed · Red Hat
References
More Red Hat Satellite vulnerabilities
- TI-2016-02888 Unspecified vulnerability in Oracle Java SE 6u113, 7u99, and 8u77; Java SE Embedded 8u77… KEVCVSS 3.1CRITICAL 9.8
- TI-2015-02278 Unspecified vulnerability in Oracle Java SE 6u95, 7u80, and 8u45, and Java SE Embedded… KEVCVSS 3.1CRITICAL 9.8
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2026-35991 Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks KEVCVSS 3.1MEDIUM 6.5
- TI-2015-04118 Unspecified vulnerability in Oracle Java SE 6u101, 7u85, and 8u60 allows remote attackers… KEVCVSS 3.1MEDIUM 5.3
- TI-2018-07743 It was found that cobbler 2.6.x exposed all functions from its CobblerXMLRPCInterface… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2026-96658 · CVE Program
- CVE-2026-96658 · NVD
- FIRST EPSS
- GHSA-g2wg-rx2f-4j5r · GitHub Advisory Database · CC BY 4.0
- CVE-2026-96658 · 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