Forman: foreman: remote code execution via command injection in websocket proxy
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 4 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | Red Hat Satellite 6.16 for RHEL 8 | — | 3.12.0.14-1.el8sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.16 for RHEL 9 | — | 3.12.0.14-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 3.14.0.14-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 0.1.23-0.3.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 1.2.0-0.1.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 4.2.28-0.1.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 2.22.3-1.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 3.27.10-2.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 1.5.1-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 0.4.3-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 4.16.0.14-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 0.13.0-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 6.17.7-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 0.0.3-4.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 3.14.0.14-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 0.1.23-0.3.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 1.2.0-0.1.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 4.2.28-0.1.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 2.22.3-1.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 3.27.10-2.el9pc | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 1.5.1-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 0.4.3-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 4.16.0.14-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 0.13.0-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 6.17.7-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.17 for RHEL 9 | — | 0.0.3-4.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6.18 for RHEL 9 | — | 3.16.0.12-1.el9sat | Patch available | CNA |
| Red Hat | Red Hat Satellite 6 | — | — | No fix listed | CNA |
- Red Hat Satellite 6.16 for RHEL 8 VendorRed Hat Affected — Fixed in 3.12.0.14-1.el8sat Patch available CNA
- Red Hat Satellite 6.16 for RHEL 9 VendorRed Hat Affected — Fixed in 3.12.0.14-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 3.14.0.14-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 0.1.23-0.3.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 1.2.0-0.1.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 4.2.28-0.1.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 2.22.3-1.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 3.27.10-2.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 1.5.1-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 0.4.3-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 4.16.0.14-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 0.13.0-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 6.17.7-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 0.0.3-4.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 3.14.0.14-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 0.1.23-0.3.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 1.2.0-0.1.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 4.2.28-0.1.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 2.22.3-1.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 3.27.10-2.el9pc Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 1.5.1-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 0.4.3-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 4.16.0.14-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 0.13.0-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 6.17.7-1.el9sat Patch available CNA
- Red Hat Satellite 6.17 for RHEL 9 VendorRed Hat Affected — Fixed in 0.0.3-4.el9sat Patch available CNA
- Red Hat Satellite 6.18 for RHEL 9 VendorRed Hat Affected — Fixed in 3.16.0.12-1.el9sat Patch available CNA
- Red Hat Satellite 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* | 6.16 to before 6.16.7 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Running on | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Running on | Red Hat |
| cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* | 6.17 to before 6.17.7 | Vulnerable | Red Hat |
| cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* | before 3.16.3; 3.17.0 to before 3.17.2; 3.18.0 to before 3.18.1 | Vulnerable | The Foreman Project |
| cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* | 6.18 to before 6.18.4 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
- cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* Versions 6.16 to before 6.16.7 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Running on ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Running on ·Red Hat
- cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* Versions 6.17 to before 6.17.7 Vulnerable ·Red Hat
- cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:* Versions before 3.16.3; 3.17.0 to before 3.17.2; 3.18.0 to before 3.18.1 Vulnerable ·The Foreman Project
- cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* Versions 6.18 to before 6.18.4 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
Remediation
Red Hat 3 advisories
- RHSA-2026:5971 Released 2026-03-26 · Red Hat rating ImportantSatellite 6.16.7 Async Update
- Red Hat Satellite 6.16 for RHEL 8 foreman-3.12.0.14-1.el8sat, foreman-cli-3.12.0.14-1.el8sat, foreman-debug-3.12.0.14-1.el8sat +20
- Red Hat Satellite 6.16 for RHEL 9 foreman-3.12.0.14-1.el9sat, foreman-cli-3.12.0.14-1.el9sat, foreman-debug-3.12.0.14-1.el9sat +20
- RHSA-2026:5970 Released 2026-03-26 · Red Hat rating ImportantSatellite 6.17.7 Async Update
- Red Hat Satellite 6.17 for RHEL 9 foreman-3.14.0.14-1.el9sat, foreman-cli-3.14.0.14-1.el9sat, foreman-debug-3.14.0.14-1.el9sat +33
- RHSA-2026:5968 Released 2026-03-26 · Red Hat rating ImportantSatellite 6.18.4 Async Update
- Red Hat Satellite 6.18 for RHEL 9 foreman-3.16.0.12-1.el9sat, foreman-cli-3.16.0.12-1.el9sat, foreman-debug-3.16.0.12-1.el9sat +15
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Satellite 6 | Affected | No fix yet |
| Red Hat Satellite 6.16 for RHEL 8 | Fixed | RHSA-2026:5971 |
| Red Hat Satellite 6.16 for RHEL 9 | Fixed | RHSA-2026:5971 |
| Red Hat Satellite 6.17 for RHEL 9 | Fixed | RHSA-2026:5970 |
| Red Hat Satellite 6.18 for RHEL 9 | Fixed | RHSA-2026:5968 |
Not affected: 3 products
- Red Hat Satellite 6.16 for RHEL 8
- Red Hat Satellite 6.16 for RHEL 9
- Red Hat Satellite 6.18 for RHEL 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-1961
- 2026-10-03 Alias added: GHSA-fh2w-2c26-vpg5
- 2026-10-20 CVSS score added · NVD
References
More Red Hat Satellite vulnerabilities
- TI-2016-02888 Unspecified vulnerability in Oracle Java SE 6u113, 7u99, and 8u77; Java SE Embedded 8u77… KEVCVSS 3.1CRITICAL 9.8
- TI-2015-02278 Unspecified vulnerability in Oracle Java SE 6u95, 7u80, and 8u45, and Java SE Embedded… KEVCVSS 3.1CRITICAL 9.8
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2026-35991 Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks KEVCVSS 3.1MEDIUM 6.5
- TI-2015-04118 Unspecified vulnerability in Oracle Java SE 6u101, 7u85, and 8u60 allows remote attackers… KEVCVSS 3.1MEDIUM 5.3
- TI-2018-07743 It was found that cobbler 2.6.x exposed all functions from its CobblerXMLRPCInterface… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2026-1961 · CVE Program
- CVE-2026-1961 · NVD
- FIRST EPSS
- GHSA-fh2w-2c26-vpg5 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-1961 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences