CVE-2026-12542

Foreman: command injection in foreman-tail

HIGH
7.8
CVSS Score
Published: October 1, 2026 at 05:14 PM UTC
Updated: October 16, 2026 at 01:19 PM UTC
2 products affected across 2 vendorsSatelliteForeman· also runs on 1 platform

Using Red Hat Satellite 6.19 for RHEL 9 by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat Satellite 6.19 for RHEL 9 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.6%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.16 ≤ v < 6.16.46.17 ≤ v < 6.17.126.18 ≤ v < 6.18.106.19 ≤ v < 6.19.566.0
Vendor states this is fixed in 0:3.12.0.23-1.el8sat (unaffected)
Vendor states this is fixed in 0:3.12.0.23-1.el9sat (unaffected)
Vendor states this is fixed in 0:3.14.0.22-1.el9sat (unaffected)
Vendor states this is fixed in 0:3.16.0.25-1.el9sat (unaffected)
Vendor states this is fixed in 0:3.18.0.14-1.el9sat (unaffected)
1.5.0 ≤ v ≤ 3.19.15.0.0

Runs on — not affected

The affected product only carries this flaw when running on these platforms. The platforms themselves are not vulnerable.

References (7)

Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:74503
VDB Entryx_refsource_REDHATVendor Advisory
Source: cverecord
https://access.redhat.com/security/cve/CVE-2026-12542
Issue Trackingx_refsource_REDHATVendor Advisory
Source: cverecord
https://bugzilla.redhat.com/show_bug.cgi?id=2489971
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:74504
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:74506
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:74505
Mailing ListPatchThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2026/10/07/7

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-78

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card