CVE-2026-1961
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.
How to fix
- theforeman foreman3.16.3, 3.17.2, 3.18.1 or later
- redhat satellite6.16.7, 6.17.7, 6.18.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| theforeman foreman | v < 3.16.3, 3.17.0 ≤ v < 3.17.2, 3.18.0 ≤ v < 3.18.1 | 3.16.3, 3.17.2, 3.18.1 |
| redhat satellite | 6.16 ≤ v < 6.16.7, 6.17 ≤ v < 6.17.7, 6.18 ≤ v < 6.18.4, 6.0 | 6.16.7, 6.17.7, 6.18.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.