CVE-2026-12541Foreman: command injection in foreman-rake database tasks
- 8.2HighCVSS base score
- 1.2%Exploitation in 30 daysEPSS · top 30% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 4 months later
· 4 months later
Published
- 32 days later
· 32 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High8.2 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | High8.2 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.2% · top 30% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.2.
Affected products
Red Hat · Red Hat Satellite 6.16 for RHEL 8
- unaffected 0:3.12.0.23-1.el8sat – < *
Red Hat · Red Hat Satellite 6.16 for RHEL 9
- unaffected 0:3.12.0.23-1.el9sat – < *
Red Hat · Red Hat Satellite 6.17 for RHEL 9
- unaffected 0:3.14.0.22-1.el9sat – < *
Red Hat · Red Hat Satellite 6.18 for RHEL 9
- unaffected 0:3.16.0.25-1.el9sat – < *
Red Hat · Red Hat Satellite 6.19 for RHEL 9
- unaffected 0:3.18.0.14-1.el9sat – < *
All versions: affected
What to do
Workaround: Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.
References
References7
- RHSA-2026:74503 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:74504 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:74505 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:74506 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-12541 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2489970 (opens in a new tab)issue-trackingx_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2026/10/07/8 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-90918 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-12541)Record last updated .