Foreman disclosed and fixed CVE-2026-1961, a high-severity remote code execution flaw in its WebSocket proxy caused by command injection. The vulnerability arises because Foreman builds shell commands using unsanitized hostname values supplied by compute resource providers such as VMware vSphere and Libvirt. A malicious or attacker-controlled compute resource server can exploit the flaw when an administrator accesses a VM VNC console, allowing code execution on the Foreman server in a normal management workflow.
The issue affects Foreman versions up to and including 3.18.0 and carries a CVSS v3.1 score of 8.0 with the vector AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H. Foreman said successful exploitation could expose sensitive credentials and potentially compromise managed infrastructure. Patches were released in 3.18.1, 3.17.2, and 3.16.3, and the vulnerability was credited to Houssam Sahli.

See affected versions and whether adversaries are exploiting it.
2 events from the most recent confirmed update back to the earliest known activity.
Foreman publicly disclosed CVE-2026-1961 as a high-severity remote code execution vulnerability affecting versions up to and including 3.18.0. Fixes were released in Foreman 3.18.1, 3.17.2, and 3.16.3, with credit given to Houssam Sahli.
CVE-2026-1961, a command injection flaw in Foreman’s WebSocket proxy, was reported to Red Hat. The issue could allow remote code execution if a malicious compute resource server supplies unsanitized hostname values later used in shell commands.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
2 references tracked. Mallory keeps watching after this page renders.
seclists.org
Open sourcecvefeed.io
Open sourceMap indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.