# CVE-2026-96658: Foreman: foreman: arbitrary code execution via safemode sandbox bypass

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-01 · Modified: 2026-11-26
- Record: https://cvemate.com/vulnerability/CVE-2026-96658 · JSON: https://cvemate.com/vulnerability/CVE-2026-96658/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.906%, percentile 61.095%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- redhat satellite: ≥ 6.16, \< 6.16.4 \| ≥ 6.17, \< 6.17.12 \| ≥ 6.19, \< 6.19.5 \| ≥ 6.18, \< 6.18.10
- theforeman foreman: \< 2.0.1 \| 3.19.0 \| 3.19.1 \| 5.0.0

## 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>

---

Data as of 2026-12-05T06:20:33.609Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
