Description
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.
Published: 2026-03-26
Score: 8 High
EPSS: 1.4% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A command‑injection flaw in Foreman’s WebSocket proxy allows a remote attacker to execute arbitrary shell commands on the Foreman server. The vulnerability originates from unsanitized hostname values supplied by compute resource providers that are incorporated into shell commands. If an attacker controls the hostname returned by a compute resource, accessing the VNC console can cause the injection of malicious code, potentially compromising credentials and the entire managed infrastructure.

Affected Systems

Red Hat Satellite 6 and its subsequent releases—6.16 through 6.18—running on RHEL 8 or RHEL 9, including the Satellite Capsule, Satellite Maintenance, and Satellite Utils components, are affected as listed by the CNA.

Risk and Exploitability

The CVSS score of 8 indicates high severity, while the EPSS score of 1% shows that exploitation activity is currently low. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to control a compute resource that returns a crafted hostname; when an authenticated user activates the VNC console, the unsanitized hostname is injected into a shell command, allowing arbitrary code execution. Although initial access is limited to the compute resource, the impact of a successful compromise is severe, potentially giving control over the entire managed environment.

Generated by OpenCVE AI on June 18, 2026 at 04:23 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.


OpenCVE Recommended Actions

  • Apply the Red Hat errata RHSA-2026:5968, RHSA-2026:5970, and RHSA-2026:5971 to all affected Satellite products.
  • Limit external access to the VNC console functionality for administrators until a patch is applied.
  • Restrict the list of compute resource providers or enforce validation and sanitization of hostnames before they are used by the WebSocket proxy.

Generated by OpenCVE AI on June 18, 2026 at 04:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 29 Mar 2026 20:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-78

Fri, 27 Mar 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-78
CWE-94

Fri, 27 Mar 2026 17:30:00 +0000

Type Values Removed Values Added
References

Fri, 27 Mar 2026 09:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-78
CWE-94

Fri, 27 Mar 2026 08:45:00 +0000

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat red Hat Satellite 6
Vendors & Products Red Hat
Red Hat red Hat Satellite 6

Fri, 27 Mar 2026 04:00:00 +0000

Type Values Removed Values Added
CPEs cpe:/a:redhat:satellite:6.18::el9
cpe:/a:redhat:satellite_capsule:6.18::el9
cpe:/a:redhat:satellite_utils:6.18::el9
References
Metrics threat_severity

None

threat_severity

Important


Thu, 26 Mar 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat satellite Capsule
Redhat satellite Maintenance
Redhat satellite Utils
CPEs cpe:/a:redhat:satellite:6.16::el8
cpe:/a:redhat:satellite:6.16::el9
cpe:/a:redhat:satellite:6.17::el9
cpe:/a:redhat:satellite_capsule:6.16::el8
cpe:/a:redhat:satellite_capsule:6.16::el9
cpe:/a:redhat:satellite_capsule:6.17::el9
cpe:/a:redhat:satellite_maintenance:6.16::el9
cpe:/a:redhat:satellite_maintenance:6.17::el9
cpe:/a:redhat:satellite_utils:6.16::el8
cpe:/a:redhat:satellite_utils:6.16::el9
cpe:/a:redhat:satellite_utils:6.17::el9
Vendors & Products Redhat satellite Capsule
Redhat satellite Maintenance
Redhat satellite Utils
References

Thu, 26 Mar 2026 13:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Forman: foreman: remote code execution via command injection in websocket proxy
First Time appeared Redhat
Redhat satellite
CPEs cpe:/a:redhat:satellite:6
Vendors & Products Redhat
Redhat satellite
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Subscriptions

Red Hat Red Hat Satellite 6
Redhat Satellite Satellite Capsule Satellite Maintenance Satellite Utils
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-04-08T11:23:19.413Z

Reserved: 2026-02-05T10:43:18.671Z

Link: CVE-2026-1961

cve-icon Vulnrichment

Updated: 2026-03-27T16:18:13.602Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-03-26T13:16:27.650

Modified: 2026-06-17T10:16:46.910

Link: CVE-2026-1961

cve-icon Redhat

Severity : Important

Publid Date: 2026-03-26T12:30:45Z

Links: CVE-2026-1961 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T04:30:16Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')