8.0
HIGH CVSS 3.1
CVE-2026-1961
Forman: foreman: remote code execution via command injection in websocket proxy
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.

INFO

Published Date :

March 26, 2026, 1:16 p.m.

Last Modified :

April 8, 2026, 12:16 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-1961 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 53f830b8-0a3f-465b-8143-3b8a9948e749
CVSS 3.1 HIGH [email protected]
Solution
Update Foreman to the latest version to fix command injection via unsanitized hostnames.
  • Update Foreman to the latest version.
  • Validate hostname inputs rigorously.
  • Sanitize all user-supplied data.
  • Review WebSocket proxy security settings.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-1961 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-1961 vulnerability anywhere in the article.

  • Daily CyberSecurity
CISA Issues Emergency Mandate as Critical 9.3 NetScaler Flaw “Bleeds” Admin Sessions

Image: watchTowr The Cybersecurity and Infrastructure Security Agency (CISA) has officially added a critical vulnerability impacting Citrix NetScaler ADC and Gateway to its Known Exploited Vulnerabili ... Read more

Published Date: Mar 31, 2026 (2 weeks, 3 days ago)
  • Daily CyberSecurity
High-Severity RCE Discovered in Foreman’s WebSocket Proxy

Security researchers have identified a high-severity vulnerability in Foreman, the popular open-source lifecycle management tool used by system administrators to provision and orchestrate thousands of ... Read more

Published Date: Mar 30, 2026 (2 weeks, 4 days ago)

The following table lists the changes that have been made to the CVE-2026-1961 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Apr. 08, 2026

    Action Type Old Value New Value
    Added CWE CWE-78
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 27, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/03/27/3
  • CVE Modified by [email protected]

    Mar. 27, 2026

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2026:5968
  • CVE Modified by [email protected]

    Mar. 26, 2026

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2026:5970
    Added Reference https://access.redhat.com/errata/RHSA-2026:5971
  • New CVE Received by [email protected]

    Mar. 26, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
    Added Reference https://access.redhat.com/security/cve/CVE-2026-1961
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2437036
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.