{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-12541","id":"CVE-2026-12541","title":"Foreman: command injection in foreman-rake database 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 ","descriptionLong":"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-01T16:22:09.928Z","updated":"2026-11-02T18:01:34.330Z","reserved":"2026-06-17T17:41:21.684Z","status":"Analyzed","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"redhat"},"metrics":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"redhat"},{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","rating":"high","source":"redhat.com"}],"rating":"high","products":["Red Hat Satellite 6.16 for RHEL 8","Red Hat Satellite 6.16 for RHEL 9","Red Hat Satellite 6.17 for RHEL 9","Red Hat Satellite 6.18 for RHEL 9","Red Hat Satellite 6.19 for RHEL 9","Red Hat Satellite 6"],"affectedProducts":[{"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","defaultStatus":"affected","versions":[{"version":"0:3.12.0.23-1.el8sat","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 9","defaultStatus":"affected","versions":[{"version":"0:3.12.0.23-1.el9sat","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","defaultStatus":"affected","versions":[{"version":"0:3.14.0.22-1.el9sat","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.18 for RHEL 9","defaultStatus":"affected","versions":[{"version":"0:3.16.0.25-1.el9sat","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.19 for RHEL 9","defaultStatus":"affected","versions":[{"version":"0:3.18.0.14-1.el9sat","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Satellite 6","defaultStatus":"affected","versions":[],"platforms":[]}],"packages":[],"cwes":["CWE-78"],"aliases":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:74503","tags":["vendor-advisory","x_refsource_REDHAT","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74504","tags":["vendor-advisory","x_refsource_REDHAT","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74505","tags":["vendor-advisory","x_refsource_REDHAT","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74506","tags":["vendor-advisory","x_refsource_REDHAT","Vendor Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-12541","tags":["vdb-entry","x_refsource_REDHAT","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2489970","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","Mitigation","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/8","tags":["Third Party Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.01236,"epssPercentile":0.69709,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-12541","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12541","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-12541","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-12541","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}