CVE-2026-12542

published 1 Oct 2026 · updated 9 Nov 2026

Foreman: command injection in foreman-tail

5.3MediumCVSS 5.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 6.16.4, 6.17.12, 6.18.10 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatSatellite
redhatsatellite>=6.16 <6.16.4, >=6.17 <6.17.12, >=6.18 <6.18.10, >=6.19 <6.19.5, =6.06.16.4, 6.17.12, 6.18.10, 6.19.5
theforemanforeman=5.0.0, >=1.5.0 <=3.19.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-12542 severity on Zeptric[![CVE-2026-12542](https://zeptric.io/badge/cve/CVE-2026-12542.svg)](https://zeptric.io/cve/CVE-2026-12542)