CVE-2026-12542

HIGH CVSS 3.1: 7.8 EPSS 0.56%
Updated Nov 27, 2026
Red Hat
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions 1.5.0 — 6.19.5
Fixed In 6.16.4
Type CWE-78 (OS Command Injection)
Vendor Red Hat
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 12

Configuration From (including) Up to (excluding)
Redhat Satellite
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
6.16 6.16.4
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
— —
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
— —
Redhat Satellite
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
6.17 6.17.12
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
— —
Redhat Satellite
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
6.19 6.19.5
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
— —
Theforeman Foreman
cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*
1.5.0 <= 3.19.1
Theforeman Foreman
cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*
— —
Redhat Satellite
cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
6.18 6.18.10
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
— —
Redhat Satellite
cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*
— —