{"id":"CVE-2026-12542","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-12542","generatedAt":"2026-10-27T23:45:59.424Z","title":"The foreman-tail utility is vulnerable to OS command injection due to the unsafe use of the eval command.","description":"A flaw was found in Foreman. The foreman-tail utility is vulnerable to OS command injection due to the unsafe use of the eval command. The script takes user-supplied arguments and incorporates them directly into a string that is then executed by eval to expand file paths. Because the input is not sanitized or quoted, a local attacker can inject shell metacharacters (e.g., ;, &, |) to execute arbitrary system commands.","published":"2026-10-01T18:17:15.000Z","lastModified":"2026-10-16T13:19:25.000Z","status":"Analyzed","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-78"],"affected":["redhat/satellite","theforeman/foreman"],"epss":{"score":0.00563,"percentile":0.4658,"date":"2026-10-26","history":[{"date":"2026-10-02","score":0.00551,"percentile":0.44102}]},"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 (0.56%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"scored","label":"Newly scored","at":"2026-10-16T14:45:12.000Z","detail":{"from":"5.3","score":"7.8","severity":"HIGH","fromSeverity":"MEDIUM"},"summary":"Now scored CVSS 7.8 HIGH (was 5.3)."},{"kind":"new","label":"New CVE","at":"2026-10-01T18:17:15.000Z","detail":{"score":"5.3","severity":"MEDIUM","publishedAt":"2026-10-01T18:17:15.033Z"},"summary":"New CVE, high severity (CVSS 7.8)."}],"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-12542","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2489971","tags":["Issue Tracking","Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/7","tags":["Mailing List","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-12542","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."}