Vulnerability · Published Oct 1, 2026 · Assigned by redhat
CVE-2026-12541Foreman: command injection in foreman-rake database tasks
High 8.2
In plain English
A high-severity OS command injection in Red Hat Satellite 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Satellite 6.16 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.16 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6.18 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6.19 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6 | see references |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References
- RHSA-2026:74503 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:74504 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:74505 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:74506 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-12541 vdb-entry, x_refsource_REDHAT
- RHBZ#2489970 issue-tracking, x_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2026/10/07/8