CVE-2026-12541Foreman: command injection in foreman-rake database tasks
Updated under an hour ago ()
Does this affect you?
It affects Red Hat Satellite 6.16 for RHEL 8 and 3 other products. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 1.20%, higher than 68% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 8.2 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Weakness (CWE)
- CWE-78
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 1.20% (percentile 68)
- Assigned by
- redhat
- NVD analysis
- Analyzed
- Record last updated
- Oct 7, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat Satellite 6.16 for RHEL 8 redhat:satellite | from 0:3.12.0.23-1.el8sat not affected | CNA record |
Red Hat Red Hat Satellite 6.16 for RHEL 8 redhat:satellite_capsule | from 0:3.12.0.23-1.el8sat not affected | CNA record |
Red Hat Red Hat Satellite 6.16 for RHEL 8 redhat:satellite_utils | from 0:3.12.0.23-1.el8sat not affected | CNA record |
redhat satellite redhat:satellite | 6.0; from 6.16 before 6.16.4; from 6.17 before 6.17.12; from 6.19 before 6.19.5; from 6.18 before 6.18.10 | NVD |
theforeman foreman theforeman:foreman | all versions | NVD |
References
- https://access.redhat.com/errata/RHSA-2026:74503vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:74504vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:74505vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:74506vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2026-12541vdb-entry, x-refsource-redhat, vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2489970issue-tracking, x-refsource-redhat, mitigation, vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/10/07/8third-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.