Foreman WS Proxy Command Injection via Unsanitized Hostname
CVE-2026-1961 Published on March 26, 2026
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.
Vulnerability Analysis
CVE-2026-1961 can be exploited with network access, requires user interaction and a small amount of user privileges. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2026-1961. The potential impact of an exploit of this vulnerability is considered to be very high.
Timeline
Reported to Red Hat.
Made public. 49 days later.
Weakness Type
What is a Shell injection Vulnerability?
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CVE-2026-1961 has been classified to as a Shell injection vulnerability or weakness.
Products Associated with CVE-2026-1961
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.
Affected Versions
Red Hat Satellite 6.16 for RHEL 8:- Version 0:3.12.0.14-1.el8sat and below * is unaffected.
- Version 0:3.12.0.14-1.el9sat and below * is unaffected.
- Version 0:3.14.0.14-1.el9sat and below * is unaffected.
- Version 0:0.1.23-0.3.el9pc and below * is unaffected.
- Version 0:1.2.0-0.1.el9pc and below * is unaffected.
- Version 0:4.2.28-0.1.el9pc and below * is unaffected.
- Version 0:2.22.3-1.el9pc and below * is unaffected.
- Version 0:3.27.10-2.el9pc and below * is unaffected.
- Version 0:1.5.1-1.el9sat and below * is unaffected.
- Version 0:0.4.3-1.el9sat and below * is unaffected.
- Version 0:4.16.0.14-1.el9sat and below * is unaffected.
- Version 0:0.13.0-1.el9sat and below * is unaffected.
- Version 0:6.17.7-1.el9sat and below * is unaffected.
- Version 0:0.0.3-4.el9sat and below * is unaffected.
- Version 0:3.14.0.14-1.el9sat and below * is unaffected.
- Version 0:0.1.23-0.3.el9pc and below * is unaffected.
- Version 0:1.2.0-0.1.el9pc and below * is unaffected.
- Version 0:4.2.28-0.1.el9pc and below * is unaffected.
- Version 0:2.22.3-1.el9pc and below * is unaffected.
- Version 0:3.27.10-2.el9pc and below * is unaffected.
- Version 0:1.5.1-1.el9sat and below * is unaffected.
- Version 0:0.4.3-1.el9sat and below * is unaffected.
- Version 0:4.16.0.14-1.el9sat and below * is unaffected.
- Version 0:0.13.0-1.el9sat and below * is unaffected.
- Version 0:6.17.7-1.el9sat and below * is unaffected.
- Version 0:0.0.3-4.el9sat and below * is unaffected.
- Version 0:3.16.0.12-1.el9sat and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.