{"id":"CVE-2026-12542","title":"A flaw was found in Foreman","summary":"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 exe…","severity":"medium","cvss":5.3,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","cwe":["CWE-78"],"vendor":"Red Hat","product":"foreman","affected":["foreman (all versions)","satellite:el8/foreman (all versions)"],"published":"2026-10-01","updated":"2026-10-01","sourceUpdated":"2026-10-01T20:36:15.187","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-12542","references":[{"url":"https://access.redhat.com/errata/RHSA-2026:74503","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2026-12542","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2489971","label":"secalert@redhat.com"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-10-01T18:55:42.369Z","slug":"CVE-2026-12542","body":"## Overview\n\nA 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":29,"depthScoreParts":{"impact":29.2,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}