CVE-2026-1961 PUBLISHED

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

Assigner: redhat
Reserved: 05.02.2026 Published: 26.03.2026 Updated: 26.03.2026

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.

Metrics

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

Product Status

Vendor Red Hat
Product Red Hat Satellite 6
Versions Default: affected
Vendor Red Hat
Product Red Hat Satellite 6
Versions Default: affected

Credits

  • Red Hat would like to thank Houssam Sahli for reporting this issue.

References