CVE-2026-1961
JSON

8.0high

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

Severity
8.0high CVSS:3.1 by redhat
Exploit likelihood
2.15% (higher than 82% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
foremanfrom 1.2.0 before 3.16.3, from 3.17.0 before 3.17.2, from 3.18.0 before 3.18.1
Not affected: from 0:3.12.0.14-1.el8sat before *, from 0:3.12.0.14-1.el9sat before *, from 0:3.14.0.14-1.el9sat before *, from 0:3.16.0.12-1.el9sat before *
CVE List
libcompsNot specified
Not affected: from 0:0.1.23-0.3.el9pc before *
CVE List
python-brotliNot specified
Not affected: from 0:1.2.0-0.1.el9pc before *
CVE List
python-djangoNot specified
Not affected: from 0:4.2.28-0.1.el9pc before *
CVE List
python-pulp-containerNot specified
Not affected: from 0:2.22.3-1.el9pc before *
CVE List
python-pulp-rpmNot specified
Not affected: from 0:3.27.10-2.el9pc before *
CVE List
rubygem-fog-kubevirtNot specified
Not affected: from 0:1.5.1-1.el9sat before *
CVE List
rubygem-foreman_kubevirtNot specified
Not affected: from 0:0.4.3-1.el9sat before *
CVE List
rubygem-katelloNot specified
Not affected: from 0:4.16.0.14-1.el9sat before *
CVE List
rubygem-rubyipmiNot specified
Not affected: from 0:0.13.0-1.el9sat before *
CVE List
satelliteNot specified
Not affected: from 0:6.17.7-1.el9sat before *
CVE List
yggdrasil-worker-forwarderNot specified
Not affected: from 0:0.0.3-4.el9sat before *
CVE List

All scores

redhat8.0high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
redhat-SADP8.0high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró un fallo en Foreman. Un atacante remoto podría explotar una vulnerabilidad de inyección de comandos en la implementación del proxy WebSocket de Foreman. Esta vulnerabilidad surge del uso por parte del sistema de valores de nombre de host no saneados de proveedores de recursos de cómputo al construir comandos de shell. Al operar un servidor de recursos de cómputo malicioso, un atacante podría lograr la ejecución remota de código en el servidor de Foreman cuando un usuario accede a la funcionalidad de la consola VNC de una VM. Esto podría llevar al compromiso de credenciales sensibles y de toda la infraestructura gestionada.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-1961 changed 2026-11-26CVE Terms of Use
NVDCVE-2026-1961 changed 2026-11-26Public domain