CVE-2026-12542
Severity CVSS v4.0:
Pending analysis
Type:
CWE-78
OS Command Injections
Publication date:
01/10/2026
Last modified:
26/11/2026
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.
Impact
Base Score 3.x
5.30
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* | 6.16 (including) | 6.16.4 (excluding) |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | ||
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* | 6.17 (including) | 6.17.12 (excluding) |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* | 6.19 (including) | 6.19.5 (excluding) |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* | 1.5.0 (including) | 3.19.1 (including) |
| cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* | 6.18 (including) | 6.18.10 (excluding) |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- 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


