{"id":"CVE-2026-12541","published":"2026-10-01T16:22:09Z","modified":"2026-11-02T18:01:34Z","title":"Foreman: command injection in foreman-rake database tasks","vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01744,"percentile":0.78195,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:74503","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74504","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74505","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74506","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-12541","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2489970","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/8","tags":[]}],"priority":{"score":21.4,"factors":[{"name":"EPSS percentile","points":15.64},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.18 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.19 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-01T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-90918","exploited":false,"provenance":"source"}}