Skip to main content

Foreman EUVDEUVD-2026-16167

| CVE-2026-1961 HIGH
OS Command Injection (CWE-78)
2026-03-26 redhat GHSA-fh2w-2c26-vpg5
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Operate malicious compute resource provider
  2. Delivery
    Inject shell metacharacters into VM hostname
  3. Exploit
    Operator opens VM VNC console
  4. Execution
    WebSocket proxy builds unsanitized shell command
  5. Persist
    Execute arbitrary code on Foreman server
  6. Impact
    Harvest credentials, compromise managed infrastructure

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 that (1) a compute resource provider controlled or compromised by the attacker is registered in the Foreman/Satellite server, (2) that provider returns an attacker-chosen VM hostname containing shell metacharacters, and (3) a legitimate user invokes the VM VNC console feature, which drives the WebSocket proxy to construct a shell command from the hostname (CWE-78). Limiting factors: the CVSS requires user interaction (UI:R), so no victim action means no trigger; the attacker needs a malicious compute resource to already be trusted/registered in the environment; and the flaw is specific to the VNC-console/WebSocket-proxy code path rather than any default request handler. Despite PR:N, the real-world barrier is control over a trusted compute resource, which narrows this to environments integrating third-party or less-trusted virtualization/cloud backends.

Impact

This is a credible but conditional high-severity issue rather than a mass-exploitation emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, 8.8) indicates a network-reachable flaw needing no Foreman privileges but requiring user interaction, with total confidentiality/integrity/availability impact consistent with server-side RCE. SSVC aligns on this: Technical Impact 'total' and Exploitation 'poc', but Automatable 'no' - meaning exploitation cannot be reliably scripted at scale because it depends on a victim action. EPSS is low at 0.12% (31st percentile), and the CVE is NOT in CISA KEV, so there is no evidence of active, widespread exploitation. These signals are consistent rather than conflicting: a POC exists and impact is total, but the 'Automatable: no' + UI:R + low EPSS together point to targeted, opportunistic risk rather than internet-wide spraying. The practical catch is that PR:N understates the real precondition - the attacker must operate or compromise a compute resource provider that a Foreman/Satellite admin has registered and then trust-interacts with, which is a meaningful barrier in well-governed environments. Net: prioritize patching on internet- or tenant-exposed Foreman/Satellite instances that integrate third-party compute resources, but this is not a drop-everything KEV-grade incident.

Exploit ScenarioDerived

An attacker stands up or compromises a compute resource provider (e.g., a hypervisor/cloud endpoint) that a Foreman/Red Hat Satellite administrator has registered, and seeds a VM with a malicious hostname containing shell metacharacters. When an operator opens that VM's VNC console, Foreman's WebSocket proxy builds a shell command from the unsanitized hostname and executes the injected commands as code on the Foreman server. A POC is reported (SSVC Exploitation: poc), though no active exploitation is confirmed.

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

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

Alert me

AnalysisAIv2 – Oct 20, 2026

Command injection in Foreman's WebSocket proxy, as shipped in Red Hat Satellite 6, allows a malicious compute-resource provider to achieve remote code execution on the Satellite/Foreman server when a user opens a VM VNC console. The CVSS vector shows network access with no privileges (PR:N) but requires user interaction (UI:R), and practical exploitation depends on the attacker already controlling a registered compute resource that returns a crafted hostname; publicly available exploit code exists, while EPSS remains low at 0.12%.

Earlier versions of this analysis (1)
v1 Mar 26, 2026 - 13:15 CVSS 8.0

Remote code execution is achievable in Red Hat Foreman and Satellite 6 via command injection in the WebSocket proxy implementation when users access VM VNC console functionality. An attacker controlling a malicious compute resource server can inject unsanitized hostname values into shell commands, compromising the Foreman server and potentially the entire managed infrastructure. A proof-of-concept exploit exists according to SSVC data, elevating real-world risk despite requiring low-privileged authentication and user interaction.

RemediationAI

Apply the vendor updates referenced by RHSA-2026:5970, RHSA-2026:5971, and RHSA-2026:5968; Red Hat lists a patch as available, and the advisories identify the exact fixed Satellite 6 package versions (see also https://access.redhat.com/security/cve/CVE-2026-1961). If patching cannot be done immediately, reduce exposure by allowing only trusted administrators to register compute resources, validating or restricting hostname values returned by compute-resource providers, and disabling the VM VNC console/WebSocket proxy feature where it is not required - recognizing that disabling VNC console access removes a legitimate administrative workflow. Network-restrict the Foreman/Satellite WebSocket proxy to trusted management networks and audit registered compute resources for unexpected or attacker-controlled entries; these are compensating controls, not substitutes for the vendor fix.

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

Foreman is a lifecycle management tool, and Red Hat Satellite 6 packages Foreman components for managed infrastructure. The WebSocket proxy brokers VNC console connections to virtual machines managed through compute resources such as libvirt, oVirt, VMware, or cloud backends. In the vulnerable path, the proxy constructs a shell command using a hostname value returned by the compute resource without sanitizing shell metacharacters, which is CWE-78 (OS command injection). An attacker who registers or compromises a compute resource can return a hostname containing shell syntax, and when a legitimate user invokes the VNC console, that command is executed with the privileges of the Foreman service account. CPE data identifies Red Hat Satellite 6 (cpe:2.3:a:red_hat:red_hat_satellite_6:*:*:*:*:*:*:*:*) as the affected commercial distribution, and the flaw is specific to the VNC-console/WebSocket-proxy code path rather than general request handling.

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

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable with no Foreman auth (PR:N) but needs an operator to open the VNC console (UI:R); command injection yields full RCE on the server, so C/I/A:H.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
Analysis Updated
Oct 20, 2026 - 16:13 vuln.today
v2 - CVSS changed
CVSS changed
Oct 20, 2026 - 16:07 NVD
8.0 (HIGH) 8.8 (HIGH)
Patch released
Apr 09, 2026 - 14:30 nvd
Patch available
CVE Published
Mar 26, 2026 - 12:53 nvd
HIGH 8.0

DescriptionNVD

A flaw was found in Foreman. A remote attacker could exploit a command injection vulnerability in Foreman's WebSocket proxy implementation. This vulnerability arises from the system's use of unsanitized hostname values from compute resource providers when constructing shell commands. By operating a malicious compute resource server, an attacker could achieve remote code execution on the Foreman server when a user accesses VM VNC console functionality. This could lead to the compromise of sensitive credentials and the entire managed infrastructure.

Executive ViewAI

Why It Matters

Red Hat Satellite 6’s Foreman WebSocket proxy has a high-severity command-injection flaw that can lead to code execution on the management server when a VM console is opened. Because Satellite is a control point for infrastructure administration, a compromise could affect managed hosts, credentials, and console/provisioning operations. Leadership should prioritize remediation despite low EPSS because publicly available exploit code exists and risk is concentrated where third-party compute resources are registered and console access is broadly granted.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 69% exploitable
Prevalence
Medium
enterprise infra-management platform (Foreman/Satellite), common but not everywhere
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment NEWS Vendor VulDB

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.1%
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)NVD

cpe:2.3:a:red_hat:red_hat_satellite_6:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_satellite_6:*:*:*:*:*:*:*:*
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