medium5.3
CVE-2026-12542
A flaw was found in Foreman.
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Satellite | from 6.16 before 6.16.4 from 6.17 before 6.17.12 from 6.19 before 6.19.5 from 6.18 before 6.18.10 Version 6.0 |
| Theforeman | Foreman | from 1.5.0 through 3.19.1 Version 5.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- https://access.redhat.com/errata/RHSA-2026:74503
- https://access.redhat.com/errata/RHSA-2026:74504
- https://access.redhat.com/errata/RHSA-2026:74505
- https://access.redhat.com/errata/RHSA-2026:74506
- https://access.redhat.com/security/cve/CVE-2026-12542
- https://bugzilla.redhat.com/show_bug.cgi?id=2489971
- http://www.openwall.com/lists/oss-security/2026/10/07/7