Forman: foreman: remote code execution via command injection in websocket proxy

Summary

CVECVE-2026-1961
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-03-26 13:16:27 UTC
Updated2026-04-08 12:16:20 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 8 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Problem Types: CWE-78 | CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
3.1CNACVSS8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Satellite 6.16 For RHEL 8 unaffected 0:3.12.0.14-1.el8sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.16 For RHEL 9 unaffected 0:3.12.0.14-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:3.14.0.14-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:0.1.23-0.3.el9pc * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:1.2.0-0.1.el9pc * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:4.2.28-0.1.el9pc * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:2.22.3-1.el9pc * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:3.27.10-2.el9pc * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:1.5.1-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:0.4.3-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:4.16.0.14-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:0.13.0-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:6.17.7-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:0.0.3-4.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:3.14.0.14-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:0.1.23-0.3.el9pc * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:1.2.0-0.1.el9pc * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:4.2.28-0.1.el9pc * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:2.22.3-1.el9pc * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:3.27.10-2.el9pc * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:1.5.1-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:0.4.3-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:4.16.0.14-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:0.13.0-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:6.17.7-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.17 For RHEL 9 unaffected 0:0.0.3-4.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6.18 For RHEL 9 unaffected 0:3.16.0.12-1.el9sat * rpm Not specified
CNA Red Hat Red Hat Satellite 6 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/errata/RHSA-2026:5968 [email protected] access.redhat.com
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com
access.redhat.com/security/cve/CVE-2026-1961 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2026:5970 [email protected] access.redhat.com
www.openwall.com/lists/oss-security/2026/03/27/3 af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
access.redhat.com/errata/RHSA-2026:5971 [email protected] access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank Houssam Sahli for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-02-05T10:40:57.141ZReported to Red Hat.
CNA2026-03-26T12:30:45.446ZMade public.

Workarounds

CNA: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report