CVE-2026-1961 is a command-injection vulnerability in Foreman’s WebSocket proxy implementation. Foreman constructs shell commands using hostname values supplied by compute resource providers, including providers such as VMware vSphere and Libvirt, without sufficient sanitization. An attacker controlling a malicious compute resource server can supply a crafted hostname that is interpreted as part of a shell command when a user opens a VM VNC console through Foreman.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
The repository contains a README and one Python 3 PoC, malicious_vsphere_server.py. The script starts a threaded TLS-enabled HTTPS service on port 443 and emulates enough of the VMware vSphere SOAP API for Foreman's VMware compute-resource integration: it handles service-content retrieval, login, UUID lookup, property retrieval, property filters/updates, VM reconfiguration, and logout requests, while serving a minimal WSDL at /sdk/vimService.wsdl. Its central behavior is returning a poisoned HostSystem.name containing shell metacharacters. In vulnerable Foreman releases, this attacker-controlled hostname is interpolated into the websockify command used by lib/ws_proxy.rb when a user opens a VM console, allowing OS command injection. The included hardcoded payload writes the effective service account name to /tmp/vsphere_rce.txt. The PoC also generates vsphere.crt and vsphere.key with OpenSSL at runtime for its HTTPS listener. It is an operational demonstration rather than a detection-only tool; exploitation requires an administrator to configure/use the malicious vSphere compute resource and open the advertised VM console.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A command injection vulnerability in Foreman's WebSocket proxy implementation that can allow remote code execution on the Foreman server via unsanitized hostname values from compute resource providers.
A remote code execution vulnerability in Foreman caused by command injection in the WebSocket proxy, fixed in this advisory.
A remote code execution vulnerability in Foreman caused by command injection in the WebSocket proxy.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.