CVE-2026-12542
The foreman-tail utility is vulnerable to OS command injection due to the unsafe use of the eval command.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.56%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.56% probability · 47th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- redhat/satellite · theforeman/foreman
- Source
- secalert@redhat.com
EPSS moved from 0.6% on 2 October 2026 to 0.6% on 26 October 2026.
References
- https://access.redhat.com/errata/RHSA-2026:74503Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:74504Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:74505Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:74506Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-12542Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2489971Issue Tracking, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2026/10/07/7Mailing List, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.