NetSight
medium5.3

CVE-2026-12542

A flaw was found in Foreman.

Impact

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.

Affected products

VendorProductAffected versions
RedhatSatellite
from 6.16 before 6.16.4
from 6.17 before 6.17.12
from 6.19 before 6.19.5
from 6.18 before 6.18.10
Version 6.0
TheforemanForeman
from 1.5.0 through 3.19.1
Version 5.0.0

Weakness classification

References