{"id":"CVE-2026-12542","published":"2026-10-01T17:14:49Z","modified":"2026-11-09T16:28:19Z","title":"Foreman: command injection in foreman-tail","vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00896,"percentile":0.57485,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:74503","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74504","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74505","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:74506","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-12542","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2489971","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/07/7","tags":[]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":11.5},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.16 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.17 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.18 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6.19 for RHEL 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6","versions":["all versions"]}],"workarounds":{"items":["Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-01T17:51:54.887463Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-90969","exploited":false,"provenance":"source"}}