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.
CVE-2026-12542
CVSS base score
5.3 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-78
Last modified
November 26, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Affected products
redhat satellite
theforeman foreman
References
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- access.redhat.com Vendor Advisory
- bugzilla.redhat.com Issue Tracking, Vendor Advisory
- www.openwall.com Mailing List, Patch, Third Party Advisory