{"id":"CVE-2026-12542","published":"2026-10-01T18:17:15.033","lastModified":"2026-10-07T07:17:00.467","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.","cvssScore":5.3,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","cwes":["CWE-78"],"vendors":[],"products":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:74503","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:74504","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:74505","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:74506","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-12542","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2489971","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/7","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":null}