CVE-2026-12541
Description
A flaw was found in Foreman. OS command injection vulnerabilities exist in the foreman-rake db:dump and db:import_dump tasks. The application fails to properly sanitize user-supplied input in the destination parameter (during backups) and the file parameter (during imports) before passing them to a Ruby system() call for execution. An attacker with permissions to execute foreman-rake (e.g., via a restricted sudo configuration) can append malicious shell commands to the provided file paths.
How to fix
- redhat satellite6.16.4, 6.17.12, 6.19.5, 6.18.10 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| theforeman foreman | No range specified | — |
| redhat satellite | 6.0, 6.16 ≤ v < 6.16.4, 6.17 ≤ v < 6.17.12, 6.19 ≤ v < 6.19.5, 6.18 ≤ v < 6.18.10 | 6.16.4, 6.17.12, 6.19.5, 6.18.10 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.