CVE-2026-12542
Foreman: command injection in foreman-tail
CVSS Score
5.3
EPSS Score
0.6%
EPSS Percentile
44th
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.
| CWE | CWE-78 |
| Vendor | red hat |
| Product | red hat satellite 6.16 for rhel 8 |
| Published | Oct 1, 2026 |
| Last Updated | Oct 7, 2026 |
Stay Ahead of the Next One
Get instant alerts for red hat red hat satellite 6.16 for rhel 8
Be the first to know when new medium vulnerabilities affecting red hat red hat satellite 6.16 for rhel 8 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
Affected Versions
Red Hat / Red Hat Satellite 6.16 for RHEL 8
All versions affected Red Hat / Red Hat Satellite 6.16 for RHEL 9
All versions affected Red Hat / Red Hat Satellite 6.17 for RHEL 9
All versions affected Red Hat / Red Hat Satellite 6.18 for RHEL 9
All versions affected Red Hat / Red Hat Satellite 6.19 for RHEL 9
All versions affected Red Hat / Red Hat Satellite 6
All versions affected References
access.redhat.com: https://access.redhat.com/errata/RHSA-2026:74503 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:74504 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:74505 access.redhat.com: https://access.redhat.com/errata/RHSA-2026:74506 access.redhat.com: https://access.redhat.com/security/cve/CVE-2026-12542 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2489971 openwall.com: http://www.openwall.com/lists/oss-security/2026/10/07/7
Credits
This issue was discovered by Laura Pardo (Red Hat) and Toni Gornals (Red Hat).