CVE-2026-12542: Foreman. The foreman-tail utility · OS Command Injection
Source GCVE Database
Not known to be exploited · CVSS 5.3 Medium : update Red Hat Satellite 6.16 for RHEL 8 when convenient.
Data as of 15 Nov 2026, 20:25 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 5.3 |
|---|
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 1 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Satellite 6.16 for RHEL 8foreman | Affected– | Fixed in– |
| Red Hat Satellite 6.16 for RHEL 9foreman | Affected– | Fixed in– |
| Red Hat Satellite 6.17 for RHEL 9foreman | Affected– | Fixed in– |
| Red Hat Satellite 6.18 for RHEL 9foreman | Affected– | Fixed in– |
| Red Hat Satellite 6.19 for RHEL 9foreman | Affected– | Fixed in– |
| Red Hat Satellite 6satellite:el8/foreman | Affected– | Fixed in– |
AI-suggested
An official fix is available from Red Hat as detailed in advisory RHSA-2026:74503. Users of Red Hat Satellite 6.19 on RHEL 9 should apply the update to remediate this vulnerability. Before applying the update, ensure all previously released errata relevant to the system have been applied. No additional mitigation steps are required beyond applying the vendor-provided patch.
Description
A command injection vulnerability exists in the foreman-tail utility of Foreman due to unsafe use of the eval command. The utility incorporates user-supplied arguments directly into an eval-executed string without sanitization or quoting, allowing a local attacker to execute arbitrary system commands by injecting shell metacharacters. This vulnerability has a CVSS score of 5.3 (medium severity). Red Hat has issued a security advisory with an official fix for affected Red Hat Satellite 6.19 on RHEL 9.
References
- nvd.nist.gov/vuln/detail/CVE-2026-12542 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:74503 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-12542 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2489971 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:74504 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:74505 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:74506 (opens in a new tab)
- openwall.com/lists/oss-security/2026/10/07/7 (opens in a new tab)