Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privileged local shell on Satellite host
-
ExploitInvoke foreman-tail with crafted argument
-
ExecutionInject shell metacharacters into eval string
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
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
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (redhat).
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Eval injection vulnerability in the create method in the Bookmarks controller in Foreman before 1.2.0-RC2 allows remote
The create method in app/controllers/users_controller.rb in Foreman before 1.2.0-RC2 allows remote authenticated users w
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
An authentication bypass flaw was found in the smart_proxy_dynflow component used by Foreman. Rated critical severity (C
Cross-site scripting (XSS) vulnerability in the search auto-completion functionality in Foreman before 1.4.4 allows remo
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
Authenticated users with low-level Viewer permissions in Red Hat Satellite 6.19 (and upstream Foreman) can exploit templ
An arbitrary code execution flaw was found in Foreman. Rated critical severity (CVSS 9.1), this vulnerability is remotel
An arbitrary code execution flaw was found in Foreman. Rated critical severity (CVSS 9.1), this vulnerability is remotel
Foreman 1.4.0 before 1.5.0 does not properly restrict access to provisioning template previews, which allows remote atta
Command injection in the Red Hat Satellite job invocation API (/api/v2/job_invocations), shipped via the rubygem-foreman
Remote code execution in Foreman's safemode-protected templating engine, shipped in Red Hat Satellite 6.19 for RHEL 9, l
EUVD-2026-90969
GHSA-79jg-9wx4-f5rr
NVD
CVE.org
EPSS
VulDB
Exploit-DB