Critical Red Hat Satellite Flaw Could Enable Root Password Theft and Code Execution Attacks
Red Hat fixed Satellite flaw CVE-2026-96659, which can leak host root passwords and enable Foreman command execution.
Authenticated safemode bypass RCE in Foreman
A critical flaw in Foreman lets an authenticated user with only low-level permissions bypass the safemode sandbox in the templating engine. Improper handling of delegated methods allows the attacker to add unauthorized functions to the allowed execution list and then run arbitrary commands on the Foreman host. Successful exploitation yields remote code execution with high impact on confidentiality, integrity, and availability, and the CVSS scope is changed (network, low complexity, no user interaction). Affected version ranges are not specified in the provided data; operators of Foreman (and downstream products built on it) should treat unpatched templating hosts as in scope until vendors publish fixed releases. It is not listed in CISA KEV and no public proof-of-concept is known.
What to do: Apply the Foreman security update from the Foreman Project or your vendor (including Red Hat, which assigned this CVE) as soon as a fixed build is published for your release. Until then, restrict who can create or edit templates and other low-privilege roles that reach the templating engine, and review recent template changes and host command history for unexpected execution.
| Product | Affected |
|---|---|
| Foreman Project Foreman | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
Red Hat fixed Satellite flaw CVE-2026-96659, which can leak host root passwords and enable Foreman command execution.
Foreman Safemode bypass lets a low-privilege template user execute Ruby as the Foreman service.
Today 2.5K readers · 5.1K views · 310 reads · all time 290K views