Skip to main content

Red Hat Satellite CVE-2026-12542

| EUVDEUVD-2026-90969 HIGH
OS Command Injection (CWE-78)
2026-10-01 redhat GHSA-79jg-9wx4-f5rr
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged local shell on Satellite host
  2. Exploit
    Invoke foreman-tail with crafted argument
  3. Execution
    Inject shell metacharacters into eval string
  4. Impact
    Execute arbitrary commands at utility privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local access to a Red Hat Satellite 6 / Foreman server and the ability to execute the foreman-tail utility with attacker-controlled arguments; the specific trigger is that foreman-tail passes unsanitized, unquoted user-supplied arguments into a string expanded by eval for file-path expansion, so shell metacharacters (;, &, |) are interpreted as commands. Exploitation is LIMITED by the need for pre-existing local authenticated access (PR:L, AV:L) - there is no network-facing path - and it only matters where a lower-privileged user can reach the utility and thereby escalate to the utility's running privileges.

Impact

All signals point to a credible but non-urgent, locally-scoped privilege/command-execution flaw rather than an internet-facing emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N) confirms the attacker must already have low-privileged local access to the host and can then trivially (AC:L, no user interaction) inject shell metacharacters, yielding full C:H/I:H/A:H impact - consistent with the CWE-78 eval-based command injection in foreman-tail. The 7.8 'High' score is driven entirely by impact, not by reachability. EPSS is low at 0.55% (44th percentile), and the CVE is NOT in CISA KEV and has no referenced public exploit, so there is no evidence of active or widespread exploitation; these signals are mutually consistent (low probability, no known weaponization). The practical risk is a local privilege-escalation / lateral-movement primitive on Red Hat Satellite servers: dangerous if an attacker already has a foothold or if a lower-privileged account can invoke the utility, but it is not remotely exploitable. Net: a legitimate patch-worthy issue for Satellite operators, but a lower real-world priority than its 7.8 score alone implies because exploitation requires pre-existing local authenticated access.

Exploit ScenarioDerived

A local attacker with a low-privileged shell account on a Red Hat Satellite server invokes the foreman-tail utility, passing an argument containing shell metacharacters (e.g., '; id #') that the script places into a string expanded by eval. The injected command executes with the privileges of the process running foreman-tail, giving the attacker arbitrary command execution and a path to privilege escalation. No public exploit is identified, but the eval pattern makes exploitation trivial once local access is obtained.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 16, 2026

OS command injection in the Foreman foreman-tail helper utility shipped with Red Hat Satellite 6.19 for RHEL 9 allows a local, authenticated user to execute arbitrary system commands with the privileges of whoever runs the tool, because unsanitized arguments are fed into an eval-based path-expansion string and shell metacharacters such as ;, & and | are interpreted as commands. The flaw is rated 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) and is strictly local-scope, so it only matters where a lower-privileged account on a Satellite/Foreman host can reach the utility and thereby escalate its privileges. There is no network-facing attack path, no public exploit code has been identified at time of analysis, and EPSS is low (0.55%, 44th percentile), though Red Hat has issued patched packages (for example 0:3.18.0.14-1.el9sat for Satellite 6.19 on RHEL 9) via several RHSA advisories.

Earlier versions of this analysis (1)
v1 Oct 01, 2026 - 17:45 CVSS 5.3

OS command injection in Foreman's foreman-tail utility, as shipped in Red Hat Satellite 6 (including Satellite 6.19 for RHEL 9), lets a local low-privileged user execute arbitrary shell commands by supplying arguments containing shell metacharacters such as ;, &, or |. Exploitation requires local access to a host running the affected Satellite/Foreman installation and the ability to invoke foreman-tail with attacker-controlled arguments (CVSS 3.1: AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L, score 5.3); there is no remote or unauthenticated path, and the Unchanged scope with uniformly Low impacts indicates commands run at the invoking user's privilege rather than escalating. No public exploit code was identified at time of analysis and the issue is not confirmed actively exploited (CISA KEV); Red Hat has published an errata addressing the flaw.

RemediationAI

Apply the vendor fix by upgrading the affected Satellite 6 packages to the patched build - for Red Hat Satellite 6.19 for RHEL 9 the fixed package version is 0:3.18.0.14-1.el9sat, distributed through RHSA-2026:74503, RHSA-2026:74504, RHSA-2026:74505 and RHSA-2026:74506 (see https://access.redhat.com/security/cve/CVE-2026-12542 and https://bugzilla.redhat.com/show_bug.cgi?id=2489971 for tracking details); the underlying fix is to quote/sanitize arguments and eliminate the eval-based path expansion in foreman-tail, so any locally maintained or downstream copy of the script should be patched equivalently. Where immediate patching is not possible, restrict the blast radius rather than relying on generic hardening: remove read/execute permission on foreman-tail for non-privileged accounts (for example, chmod/chown the utility so only root or a tightly scoped group can invoke it), and explicitly exclude it from blanket sudoers NOPASSWD rules - the trade-off is that legitimate log-tailing by support or operations staff will require a privileged session, and broad sudo exemptions must be reviewed since they can themselves reintroduce the escalation path. Because the vector requires local authentication (PR:L, AV:L) with no user interaction, prioritize hosts where untrusted or limited users have shell access to the Satellite/Foreman server; there is no network-side mitigation that meaningfully applies, and blocking ports or endpoints is not an effective control here. Validate the patch level with the RPM version above, and treat any detection of shell metacharacters in foreman-tail invocations as a possible post-exploitation indicator.

Affected VersionsENISA

Red Hat Satellite 6.19 for RHEL 9 patch: 0:3.18.0.14-1.el9sat

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command, i.e. OS command injection) in the Foreman-supplied foreman-tail utility. The script builds a string from user-supplied command-line arguments and passes that string to the shell's eval builtin in order to expand file paths; because the arguments are neither quoted nor sanitized before evaluation, any shell metacharacter in an argument is re-parsed by the shell as a command separator, pipe, or background/control operator, giving arbitrary command execution. This is a classic eval-injection pattern: the vulnerability is not in a network service or protocol parser but in a local administrative helper, meaning the technology involved is shell scripting plus the Foreman/Satellite management stack rather than an exposed daemon. CPE data ties the affected code to Red Hat Satellite 6 broadly (cpe:2.3:a:red_hat:red_hat_satellite_6:*) and specifically to the Red Hat Satellite 6.19 for RHEL 9 channel (cpe:2.3:a:red_hat:red_hat_satellite_6.19_for_rhel_9:*:*:*:*:*:*:*:*); upstream Foreman inherits the same utility, so the same defect conceptually applies to Foreman deployments that ship the unpatched script. The CVSS vector confirms a local attack path (AV:L) requiring low privileges (PR:L) with no user interaction, and high confidentiality, integrity and availability impact because injected commands run with the invoking user's - potentially escalated - rights on the Satellite host.

Know when Foreman gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY MEDIUM
NVD 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Requires a local authenticated account able to run foreman-tail (AV:L, PR:L) with no special timing (AC:L); unsanitized eval yields full command execution, so C/I/A:H.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Oct 16, 2026 - 13:27 vuln.today
v2 - CVSS changed
Severity Changed
Oct 16, 2026 - 13:22 NVD
MEDIUM HIGH
CVSS changed
Oct 16, 2026 - 13:22 NVD
5.3 (MEDIUM) 7.8 (HIGH)

DescriptionNVD

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.

Executive ViewAI

Why It Matters

A privilege-escalation flaw in the foreman-tail helper utility shipped with Red Hat Satellite 6.19 on RHEL 9 lets anyone who already holds a local account on a Satellite or Foreman host execute commands with the privileges of the account running the tool, up to and including root on the platform that manages patching, configuration, and host credentials across the estate. The attack path is strictly local and no public exploit code has been identified at time of analysis, so exposure is limited to organizations that permit shell or interactive logon on Satellite servers by administrators, contractors, or service accounts. Leadership should treat this as an access-hygiene and containment issue rather than an external threat, while still prioritizing Red Hat's patched packages for the affected hosts.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 56% exploitable
Prevalence
Medium
enterprise RHEL fleet-management product, common in Red Hat shops but not universal
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2013-2121 MEDIUM POC
6.0 Jul 31

Eval injection vulnerability in the create method in the Bookmarks controller in Foreman before 1.2.0-RC2 allows remote

CVE-2013-2113 MEDIUM POC
6.0 Jul 31

The create method in app/controllers/users_controller.rb in Foreman before 1.2.0-RC2 allows remote authenticated users w

CVE-2014-0007 HIGH POC
7.5 Jun 20

The Smart-Proxy in Foreman before 1.4.5 and 1.5.x before 1.5.1 allows remote attackers to execute arbitrary commands via

CVE-2018-14643 CRITICAL
9.8 Sep 21

An authentication bypass flaw was found in the smart_proxy_dynflow component used by Foreman. Rated critical severity (C

CVE-2014-0208 MEDIUM POC
5.4 Oct 16

Cross-site scripting (XSS) vulnerability in the search auto-completion functionality in Foreman before 1.4.4 allows remo

CVE-2016-3728 HIGH
8.8 May 20

Eval injection vulnerability in tftp_api.rb in the TFTP module in the Smart-Proxy in Foreman before 1.10.4 and 1.11.x be

CVE-2026-96659 CRITICAL
9.1 Oct 01

Authenticated users with low-level Viewer permissions in Red Hat Satellite 6.19 (and upstream Foreman) can exploit templ

CVE-2023-0462 CRITICAL
9.1 Sep 20

An arbitrary code execution flaw was found in Foreman. Rated critical severity (CVSS 9.1), this vulnerability is remotel

CVE-2023-0118 CRITICAL
9.1 Sep 20

An arbitrary code execution flaw was found in Foreman. Rated critical severity (CVSS 9.1), this vulnerability is remotel

CVE-2014-0192 MEDIUM POC
5.0 May 08

Foreman 1.4.0 before 1.5.0 does not properly restrict access to provisioning template previews, which allows remote atta

CVE-2026-12405 HIGH
8.8 Oct 01

Command injection in the Red Hat Satellite job invocation API (/api/v2/job_invocations), shipped via the rubygem-foreman

CVE-2026-96658 HIGH
8.8 Oct 01

Remote code execution in Foreman's safemode-protected templating engine, shipped in Red Hat Satellite 6.19 for RHEL 9, l

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy