Foreman: foreman: arbitrary code execution via safemode sandbox bypass
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Red Hat Satellite 6.16 for RHEL 8 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.16 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.18 for RHEL 9 | affected |
|
||||||
| Red Hat | Red Hat Satellite 6.19 for RHEL 9 | affected |
|
Configuration 1 [-]
| AND |
|
Configuration 2 [-]
| AND |
|
Configuration 3 [-]
| AND |
|
Configuration 4 [-]
|
Configuration 5 [-]
| AND |
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Satellite 6.16 for RHEL 8 | |||
| rubygem-safemode-0:1.5.0-2.el8sat | cpe:/a:redhat:satellite:6.16::el8 | RHSA-2026:74506 | 2026-10-01T00:00:00Z |
| Red Hat Satellite 6.16 for RHEL 9 | |||
| rubygem-safemode-0:1.5.0-2.el9sat | cpe:/a:redhat:satellite:6.16::el9 | RHSA-2026:74506 | 2026-10-01T00:00:00Z |
| Red Hat Satellite 6.18 for RHEL 9 | |||
| rubygem-safemode-0:1.5.0-2.el9sat | cpe:/a:redhat:satellite:6.18::el9 | RHSA-2026:74504 | 2026-10-01T00:00:00Z |
| Red Hat Satellite 6.19 for RHEL 9 | |||
| foreman-0:3.18.0.14-1.el9sat | cpe:/a:redhat:satellite_utils:6.19::el9 | RHSA-2026:74503 | 2026-10-01T00:00:00Z |
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Redhat | Satellite |
|
||||||||
| Theforeman | Foreman |
|
||||||||
| Theforeman | Foreman |
|
||||||||
| Theforeman | Foreman |
|
Vendor Workaround
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.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.724% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in Foreman. An authenticated attacker with low-level permissions can achieve remote code execution (RCE) by bypassing the safemode sandbox within the templating engine. Due to improper handling of delegated methods, an attacker can append unauthorized functions to the allowed execution list, enabling them to run arbitrary commands on the hosting server. | 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. |
| Title | Foreman: safemode bypass leading to rce | Foreman: foreman: arbitrary code execution via safemode sandbox bypass |
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat enterprise Linux
|
|
| CPEs | cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* cpe:2.3:a:theforeman:foreman:3.19.0:*:*:*:*:*:*:* cpe:2.3:a:theforeman:foreman:3.19.1:*:*:*:*:*:*:* cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
|
| Vendors & Products |
Redhat enterprise Linux
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Theforeman
Theforeman foreman |
|
| Vendors & Products |
Theforeman
Theforeman foreman |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:satellite:6.17::el9 cpe:/a:redhat:satellite_capsule:6.17::el9 cpe:/a:redhat:satellite_utils:6.17::el9 |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:satellite:6.16::el8 cpe:/a:redhat:satellite:6.16::el9 cpe:/a:redhat:satellite:6.18::el9 cpe:/a:redhat:satellite_capsule:6.16::el8 cpe:/a:redhat:satellite_capsule:6.16::el9 cpe:/a:redhat:satellite_capsule:6.18::el9 cpe:/a:redhat:satellite_utils:6.16::el8 cpe:/a:redhat:satellite_utils:6.16::el9 cpe:/a:redhat:satellite_utils:6.18::el9 |
|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-94 | |
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in Foreman. An authenticated attacker with low-level permissions can achieve remote code execution (RCE) by bypassing the safemode sandbox within the templating engine. Due to improper handling of delegated methods, an attacker can append unauthorized functions to the allowed execution list, enabling them to run arbitrary commands on the hosting server. | |
| Title | Foreman: safemode bypass leading to rce | |
| First Time appeared |
Redhat
Redhat satellite Redhat satellite Capsule Redhat satellite Utils |
|
| CPEs | cpe:/a:redhat:satellite:6.19::el9 cpe:/a:redhat:satellite_capsule:6.19::el9 cpe:/a:redhat:satellite_utils:6.19::el9 |
|
| Vendors & Products |
Redhat
Redhat satellite Redhat satellite Capsule Redhat satellite Utils |
|
| References |
| |
| Metrics |
cvssV3_1
|