Vulnerability · Published Oct 1, 2026 · Assigned by redhat
CVE-2026-12542Foreman: command injection in foreman-tail
Medium 5.3
In plain English
A medium-severity OS command injection in Red Hat Satellite 6 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Satellite 6.16 for RHEL 8 | see references |
| Red Hat | Red Hat Satellite 6.16 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6.18 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6.19 for RHEL 9 | see references |
| Red Hat | Red Hat Satellite 6 | see references |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- RHSA-2026:74503 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:74504 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:74505 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:74506 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-12542 vdb-entry, x_refsource_REDHAT
- RHBZ#2489971 issue-tracking, x_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2026/10/07/7