CVE-2026-1961: Forman: foreman: remote code execution via command injection in websocket proxy
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.
Security readout for executives and security teams
Plain-English summary
CVE-2026-1961 is a high-severity command injection flaw in Foreman's WebSocket proxy. If an attacker controls a malicious compute resource server and a user opens a VM VNC console, commands could run on the Foreman server, risking credentials and managed infrastructure.
Executive priority
Treat this as urgent for Satellite environments because successful exploitation could compromise the management server and downstream infrastructure. Prioritize patch validation and trusted compute resource review, especially where VNC console access is used.
Technical view
The flaw is CWE-78 command injection caused by unsanitized hostname values from compute resource providers being used to construct shell commands in Foreman's WebSocket proxy. CVSS is 8.0 with network attack vector, low complexity, low privileges required, and user interaction required.
Likely exposure
Exposure is most likely in Red Hat Satellite 6.16 and 6.17 environments using affected Foreman-related packages and VM VNC console functionality with configured compute resource providers.
Exploitation context
The bundle does not show CISA KEV listing or other cited evidence of active exploitation. Exploitation requires a malicious compute resource server and a user accessing VM VNC console functionality.
Researcher notes
Key constraints are PR:L and UI:R: the attacker needs a malicious compute resource server path, and a user must trigger VNC console access. The provided evidence identifies affected Red Hat Satellite versions but does not include exploit publication or fixed package detail.
Mitigation direction
Apply relevant Red Hat advisories RHSA-2026:5968, RHSA-2026:5970, or RHSA-2026:5971 where applicable.
Check Red Hat CVE guidance for fixed package versions and supported update paths.
Restrict compute resource provider configuration to trusted, validated infrastructure only.
Limit VM VNC console access to administrators with a clear operational need.
Review Foreman and Satellite credentials after suspected exposure.
Validation and detection
Inventory Red Hat Satellite 6.16 and 6.17 systems across RHEL 8 and RHEL 9.
Compare installed affected packages with the versions listed in Red Hat guidance.
Review configured compute resource providers for untrusted or unexpected hostnames.
Audit recent VM VNC console access involving compute resource providers.
Confirm remediation status against Red Hat CVE and RHSA records.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
7Timeline events
3ADP providers
7Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-78 · source CWE mapping
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.