What’s Vulnerable › Vulnerabilities

CVE-2026-1961: Forman: foreman: remote code execution via command injection in websocket proxy

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.

Affected products

How to fix

Upgrade to a fixed version: Red Hat Satellite 6 6.16.7, 6.17.7, 6.18.4; foreman 3.16.3, 3.17.2, 3.18.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-1961 or the next vulnerability affects your stack