{"id":"CVE-2026-12540","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-12540","generatedAt":"2026-10-28T02:58:53.021Z","title":"A command injection vulnerability exists in the foreman-rake errors:fetch_log task.","description":"A flaw was found in Foreman. A command injection vulnerability exists in the foreman-rake errors:fetch_log task. The request_id parameter is passed to an underlying system command (typically grep) without adequate shell neutralization. While the task is intended to fetch specific log entries, an attacker with sudo permissions to execute this rake task can inject shell metacharacters (such as ;, \", or |) to break out of the intended command and execute arbitrary code.","published":"2026-10-01T17:17:20.000Z","lastModified":"2026-10-08T13:16:10.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.053Z"},"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-12540","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2489969","tags":["Issue Tracking","Mitigation","Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/9","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-12540","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."}