Medium severity5.3NVD Advisory· Published Oct 1, 2026· Updated Nov 9, 2026
CVE-2026-12542
CVE-2026-12542
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
5cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*range: >=1.5.0,<=3.19.1
- cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
7- www.openwall.com/lists/oss-security/2026/10/07/7nvdMailing ListPatchThird Party Advisory
- access.redhat.com/errata/RHSA-2026:74503nvdVendor Advisory
- access.redhat.com/errata/RHSA-2026:74504nvdVendor Advisory
- access.redhat.com/errata/RHSA-2026:74505nvdVendor Advisory
- access.redhat.com/errata/RHSA-2026:74506nvdVendor Advisory
- access.redhat.com/security/cve/CVE-2026-12542nvdVendor Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingVendor Advisory
News mentions
0No linked articles in our index yet.