Foreman: command injection in foreman-tail (Red Hat Red Hat Satellite 6.16 for RHEL 8)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.56 % · percentile 47 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command
References
- 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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | redhat |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2026-90969
- GCVE · GCVE-0-2026-12542
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*≥ 6.16 < 6.16.4cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*≥ 6.17 < 6.17.12cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*≥ 6.19 < 6.19.5cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*≥ 1.5.0 ≤ 3.19.1cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*≥ 6.18 < 6.18.10cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Red Hat · Red Hat Satellite 6.16 for RHEL 8 | unaffected 0:3.12.0.23-1.el8sat < * |
| Red Hat · Red Hat Satellite 6.16 for RHEL 9 | unaffected 0:3.12.0.23-1.el9sat < * |
| Red Hat · Red Hat Satellite 6.17 for RHEL 9 | unaffected 0:3.14.0.22-1.el9sat < * |
| Red Hat · Red Hat Satellite 6.18 for RHEL 9 | unaffected 0:3.16.0.25-1.el9sat < * |
| Red Hat · Red Hat Satellite 6.19 for RHEL 9 | unaffected 0:3.18.0.14-1.el9sat < * |
| Red Hat · Red Hat Satellite 6 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |