Forman: foreman: remote code execution via command injection in websocket proxy
Overview
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.
- Published
- 3/26/2026
- Last modified
- 11/26/2026
- CVE assigner
- redhat
- NVD analysis
- Analyzed
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
foreman Vendor not specified | ≥ 1.2.0, < 3.16.3 | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
foreman Vendor not specified | ≥ 3.17.0, < 3.17.2 | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
foreman Vendor not specified | ≥ 3.18.0, < 3.18.1 | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Satellite 6.16 for RHEL 8 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Satellite 6.16 for RHEL 9 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Satellite 6.17 for RHEL 9 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Satellite 6.18 for RHEL 9 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Red Hat Satellite 6 Red Hat | Range not specified — verify advisory | Verify advisory Candidate from cve.now; verify the vendor advisory and platform conditions before confirming applicability. | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
8.0 · High CVSS 3.1
Scored by redhat
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
8.0 · High CVSS 3.1
Scored by redhat-SADP
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
8.0 · High CVSS 3.1
Scored by secalert@redhat.com
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
8.8 · High CVSS 3.1
Scored by nvd@nist.gov
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
8.0 · High CVSS 3.1
Scored by 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Related weaknesses
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.