CVE-2026-12542Foreman: command injection in foreman-tail
Updated under an hour ago ()
Does this affect you?
It affects Red Hat Satellite 6.16 for RHEL 8 and 3 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 5.3 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Weakness (CWE)
- CWE-78
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Analyzed
- Record last updated
- Oct 7, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat Satellite 6.16 for RHEL 8 redhat:satellite | from 0:3.12.0.23-1.el8sat not affected | CNA record |
Red Hat Red Hat Satellite 6.16 for RHEL 8 redhat:satellite_capsule | from 0:3.12.0.23-1.el8sat not affected | CNA record |
Red Hat Red Hat Satellite 6.16 for RHEL 8 redhat:satellite_utils | from 0:3.12.0.23-1.el8sat not affected | CNA record |
redhat satellite redhat:satellite | from 6.16 before 6.16.4; from 6.17 before 6.17.12; from 6.19 before 6.19.5; from 6.18 before 6.18.10; 6.0 | NVD |
theforeman foreman theforeman:foreman | from 1.5.0 through 3.19.1; 5.0.0 | NVD |
References
- https://access.redhat.com/errata/RHSA-2026:74503vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:74504vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:74505vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:74506vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2026-12542vdb-entry, x-refsource-redhat, vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2489971issue-tracking, x-refsource-redhat, vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/10/07/7mailing-list, patch, third-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.