{"id":"CVE-2026-12541","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-12541","generatedAt":"2026-10-28T00:59:42.102Z","title":"OS command injection vulnerabilities exist in the foreman-rake db:dump and db:import_dump tasks.","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.","published":"2026-10-01T17:17:20.000Z","lastModified":"2026-10-08T13:16:22.000Z","status":"Analyzed","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"3.1","score":8.2,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"},"cwe":["CWE-78"],"affected":["redhat/satellite","theforeman/foreman"],"epss":{"score":0.01236,"percentile":0.68878,"date":"2026-10-26","history":[{"date":"2026-10-02","score":0.01303,"percentile":0.69487}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.24%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-01T17:17:20.000Z","detail":{"score":"8.2","severity":"HIGH","publishedAt":"2026-10-01T17:17:20.190Z"},"summary":"New CVE, high severity (CVSS 8.2)."}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:74503","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:74504","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:74505","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:74506","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2026-12541","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2489970","tags":["Issue Tracking","Mitigation","Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/8","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-12541","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}