{"id":"CVE-2026-12541","title":"A flaw was found in Foreman","summary":"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) an…","severity":"high","cvss":8.2,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","cwe":["CWE-78"],"vendor":"redhat","product":"satellite","affected":["satellite = 6.0","satellite >= 6.16, < 6.16.4","satellite >= 6.17, < 6.17.12","satellite >= 6.19, < 6.19.5","foreman","satellite >= 6.18, < 6.18.10"],"patched":["satellite 6.18.10"],"published":"2026-10-01","updated":"2026-10-08","sourceUpdated":"2026-10-08T13:16:22.270","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-12541","references":[{"url":"https://access.redhat.com/errata/RHSA-2026:74503","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:74504","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:74505","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:74506","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2026-12541","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2489970","label":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/8","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12541.json"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-12541"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12541"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"epss":0.01236,"epssPercentile":0.68923,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-01T16:34:28.362927Z"},"ingestedAt":"2026-10-01T18:55:42.360Z","slug":"CVE-2026-12541","body":"## Overview\n\nA 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.\n\n## Affected\n\n- `satellite = 6.0`\n- `satellite >= 6.16, < 6.16.4`\n- `satellite >= 6.17, < 6.17.12`\n- `satellite >= 6.19, < 6.19.5`\n- `foreman`\n- `satellite >= 6.18, < 6.18.10`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `satellite 6.18.10`\n\n## Vendor advisories\n\n- **RHSA-2026:74506** · Red Hat · fixed in: Red Hat Satellite 6.16 for RHEL 8, Red Hat Satellite 6.16 for RHEL 9 · released 2026-10-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:74506)\n- **RHSA-2026:74504** · Red Hat · fixed in: Red Hat Satellite 6.18 for RHEL 9 · released 2026-10-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:74504)\n- **RHSA-2026:74503** · Red Hat · fixed in: Red Hat Satellite 6.19 for RHEL 9 · released 2026-10-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:74503)\n- **Red Hat VEX** · Important · affected: Red Hat Satellite 6 · no fix planned: Red Hat Satellite 6 · updated 2026-10-02 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12541.json)\n- **RHSA-2026:74505** · Red Hat · fixed in: Red Hat Satellite 6.17 for RHEL 9 · released 2026-10-01 · [advisory](https://access.redhat.com/errata/RHSA-2026:74505)","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":45.1,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}