Foreman: foreman: arbitrary code execution via safemode sandbox bypass
Summary
| CVE | CVE-2026-96658 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-01 17:17:34 UTC |
| Updated | 2026-10-18 07:16:53 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.007030000 probability, percentile 0.516630000 (date 2026-10-05)
Problem Types: CWE-94 | CWE-94 Improper Control of Generation of Code ('Code Injection') | CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Redhat | Enterprise Linux | 8.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 9.0 | All | All | All |
| Application | Redhat | Satellite | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Satellite 6.16 For RHEL 8 | unaffected 0:1.5.0-2.el8sat * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.16 For RHEL 9 | unaffected 0:1.5.0-2.el9sat * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.17 For RHEL 9 | unaffected 0:3.14.0.22-1.el9sat * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.17 For RHEL 9 | unaffected 0:3.2.13-1.el9pc * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.17 For RHEL 9 | unaffected 0:3.1.62-1.el9pc * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.17 For RHEL 9 | unaffected 0:5.3.1-2.el9pc * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.17 For RHEL 9 | unaffected 0:0.6.0-1.el9pc * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.17 For RHEL 9 | unaffected 0:15.0.2-2.el9sat * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.17 For RHEL 9 | unaffected 0:3.14.0-2.el9sat * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.17 For RHEL 9 | unaffected 0:4.16.0.20-1.el9sat * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.17 For RHEL 9 | unaffected 0:1.5.0-2.el9sat * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.17 For RHEL 9 | unaffected 0:6.17.12-1.el9sat * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.17 For RHEL 9 | unaffected 0:0.1.0-2.1.el9sat * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.18 For RHEL 9 | unaffected 0:1.5.0-2.el9sat * rpm | Not specified |
| CNA | Red Hat | Red Hat Satellite 6.19 For RHEL 9 | unaffected 0:3.18.0.14-1.el9sat * rpm | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.openwall.com/lists/oss-security/2026/10/07/2 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List, Patch, Third Party Advisory |
| access.redhat.com/errata/RHSA-2026:74506 | [email protected] | access.redhat.com | Vendor Advisory |
| access.redhat.com/security/cve/CVE-2026-96658 | [email protected] | access.redhat.com | Vendor Advisory |
| access.redhat.com/errata/RHSA-2026:74505 | [email protected] | access.redhat.com | Vendor Advisory |
| access.redhat.com/errata/RHSA-2026:74504 | [email protected] | access.redhat.com | Vendor Advisory |
| access.redhat.com/errata/RHSA-2026:74503 | [email protected] | access.redhat.com | Vendor Advisory |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | Issue Tracking, Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-09-15T18:42:29.604Z | Reported to Red Hat. |
| CNA | 2026-10-01T00:00:00.000Z | Made public. |
Workarounds
CNA: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
There are currently no legacy QID mappings associated with this CVE.