{"schemaVersion":3,"id":"CVE-2026-12541","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-10-01T16:22:09.928Z","modified":"2026-10-07T06:12:05.484Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.012,"percentile":0.67727,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-02T00:00:00.000Z","score":0.01303,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.012,"percentile":0.67727}],"last30":[{"date":"2026-10-02T00:00:00.000Z","score":0.01303,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01309,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.012,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.012,"percentile":0.67727}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"redhat","product":"satellite","name":"satellite","label":"satellite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.16, < 6.16.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.17, < 6.17.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.19, < 6.19.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.18, < 6.18.10","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0 | ≥ 6.16, < 6.16.4 | ≥ 6.17, < 6.17.12 | ≥ 6.19, < 6.19.5 | ≥ 6.18, < 6.18.10","eol":null,"hubHref":"/vendor/redhat/satellite"},{"vendor":"theforeman","product":"foreman","name":"foreman","label":"foreman","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"foreman","label":"Foreman","category":"server-app"}},"hubHref":"/vendor/theforeman/foreman"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:74503","label":"access.redhat.com/errata/RHSA-2026:74503","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74504","label":"access.redhat.com/errata/RHSA-2026:74504","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74505","label":"access.redhat.com/errata/RHSA-2026:74505","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74506","label":"access.redhat.com/errata/RHSA-2026:74506","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-12541","label":"access.redhat.com/security/cve/CVE-2026-12541","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2489970","label":"bugzilla.redhat.com/show_bug.cgi?id=2489970","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","Mitigation","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/8","label":"www.openwall.com/lists/oss-security/2026/10/07/8","hostname":"www.openwall.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2026:74503","RHSA-2026:74504","RHSA-2026:74505","RHSA-2026:74506"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-01T16:22:09.928Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-07T06:12:05.484Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:02:17.833Z","stale":false,"partial":false}}