CVE-2026-12542
A flaw was found in Foreman. The foreman-tail utility is vulnerable …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/errata/RHSA-2026:74503
- access.redhat.com/security/cve/CVE-2026-12542
- bugzilla.redhat.com/show_bug.cgi?id=2489971
- access.redhat.com/errata/RHSA-2026:74504
- access.redhat.com/errata/RHSA-2026:74506
- access.redhat.com/errata/RHSA-2026:74505
- www.openwall.com/lists/oss-security/2026/10/07/7
- nvd.nist.gov/vuln/detail/CVE-2026-12542
- cve.org/CVERecord?id=CVE-2026-12542
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.