CVE-2026-12541
Foreman: command injection in foreman-rake database tasks
CVSS Score
8.2
EPSS Score
1.3%
EPSS Percentile
70th
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.
| CWE | CWE-78 |
| Vendor | red hat |
| Product | red hat satellite 6.16 for rhel 8 |
| Published | Oct 1, 2026 |
| Last Updated | Oct 7, 2026 |
Stay Ahead of the Next One
Get instant alerts for red hat red hat satellite 6.16 for rhel 8
Be the first to know when new high vulnerabilities affecting red hat red hat satellite 6.16 for rhel 8 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
Red Hat / Red Hat Satellite 6.16 for RHEL 8
All versions affected Red Hat / Red Hat Satellite 6.16 for RHEL 9
All versions affected Red Hat / Red Hat Satellite 6.17 for RHEL 9
All versions affected Red Hat / Red Hat Satellite 6.18 for RHEL 9
All versions affected Red Hat / Red Hat Satellite 6.19 for RHEL 9
All versions affected Red Hat / Red Hat Satellite 6
All versions affected References
access.redhat.com: https://access.redhat.com/errata/RHSA-2026:74503 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:74504 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:74505 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:74506 access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-12541 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2489970 openwall.com: http://www.openwall.com/lists/oss-security/2026/10/07/8
Credits
This issue was discovered by Laura Pardo (Red Hat) and Toni Gornals (Red Hat).