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

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-03-26 · Modified: 2026-11-26
- Record: https://cvemate.com/vulnerability/CVE-2026-1961 · JSON: https://cvemate.com/vulnerability/CVE-2026-1961/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 2.154%, percentile 82.772%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- redhat satellite: ≥ 6.16, \< 6.16.7 \| ≥ 6.17, \< 6.17.7 \| ≥ 6.18, \< 6.18.4 \| 6.0
- theforeman foreman: \< 3.16.3 \| ≥ 3.17.0, \< 3.17.2 \| ≥ 3.18.0, \< 3.18.1

## References

- <https://access.redhat.com/errata/RHSA-2026:5968>
- <https://access.redhat.com/errata/RHSA-2026:5970>
- <https://access.redhat.com/errata/RHSA-2026:5971>
- <https://access.redhat.com/security/cve/CVE-2026-1961>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2437036>
- <http://www.openwall.com/lists/oss-security/2026/03/27/3>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1961.json>

---

Data as of 2026-12-05T03:14:50.970Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
