What’s Vulnerable › Vulnerabilities
CVE-2026-96658: Foreman: foreman: arbitrary code execution via safemode sandbox bypass
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-01 · updated 2026-10-18
- Weakness: CWE-94
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.
Affected products
- Red Hat Satellite 6: from 6.16 before 6.16.4; from 6.17 before 6.17.12; from 6.19 before 6.19.5; from 6.18 before 6.18.10 — fixed in 6.16.4, 6.17.12, 6.18.10, 6.19.5
- foreman: before 2.0.1; 3.19.0, 3.19.1, 5.0.0 — fixed in 2.0.1
How to fix
Upgrade to a fixed version: Red Hat Satellite 6 6.16.4, 6.17.12, 6.18.10, 6.19.5; foreman 2.0.1. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2026:74503
- https://access.redhat.com/errata/RHSA-2026:74504
- https://access.redhat.com/errata/RHSA-2026:74505
- https://access.redhat.com/errata/RHSA-2026:74506
- https://access.redhat.com/security/cve/CVE-2026-96658
- https://bugzilla.redhat.com/show_bug.cgi?id=2534185
- http://www.openwall.com/lists/oss-security/2026/10/07/2
Get alerted when CVE-2026-96658 or the next vulnerability affects your stack