CVE-2026-12542
CVE-2026-12542 · Foreman: command injection in foreman-tail
CVSS 5.3 · Medium · EPSS 0.9%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- red hat satellite 6.16 for rhel 8No fix published
- red hat satellite 6.16 for rhel 9No fix published
- red hat satellite 6.17 for rhel 9No fix published
- red hat satellite 6.18 for rhel 9No fix published
- and 2 more
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2026:74505 · Red Hat satellite 6.17 el9, Red Hat satellite capsule 6.17 el9, Red Hat satellite utils 6.17 el9 ·
- RHSA-2026:74506 · Red Hat satellite 6.16 el8, Red Hat satellite 6.16 el9, Red Hat satellite capsule 6.16 el8, Red Hat satellite capsule 6.16 el9, Red Hat satellite utils 6.16 el8, Red Hat satellite utils 6.16 el9 ·
- RHSA-2026:74503 · Red Hat satellite 6.19 el9, Red Hat satellite capsule 6.19 el9, Red Hat satellite utils 6.19 el9 ·
- RHSA-2026:74504 · Red Hat satellite 6.18 el9, Red Hat satellite capsule 6.18 el9, Red Hat satellite utils 6.18 el9 ·
Affected products and versions
red hat satellite 6.16 for rhel 8
- Versions
- ≥ 0:3.12.0.23-1.el8sat: Not affected (rpm)
No fix published
red hat satellite 6.16 for rhel 9
- Versions
- ≥ 0:3.12.0.23-1.el9sat: Not affected (rpm)
No fix published
red hat satellite 6.17 for rhel 9
- Versions
- ≥ 0:3.14.0.22-1.el9sat: Not affected (rpm)
No fix published
red hat satellite 6.18 for rhel 9
- Versions
- ≥ 0:3.16.0.25-1.el9sat: Not affected (rpm)
No fix published
red hat satellite 6.19 for rhel 9
- Versions
- ≥ 0:3.18.0.14-1.el9sat: Not affected (rpm)
No fix published
red hat satellite 6
No fix published
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-12542