cve.bz

CVE-2026-1961 OS Command Injection

8.8 highExploit referenceEPSS 2.0%Fix available

High (8.8). EPSS 2.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
2.0% (unchanged from 1.9% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-03-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-1961 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-1961?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-1961?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-1961 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-1961

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-1961](https://cve.bz/cve/badge/CVE-2026-1961.svg)](https://cve.bz/cve/CVE-2026-1961)

HTML:

<a href="https://cve.bz/cve/CVE-2026-1961"><img src="https://cve.bz/cve/badge/CVE-2026-1961.svg" alt="CVE-2026-1961"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Satellite 6.16 for RHEL 80:3.12.0.14-1.el8sat
Red Hat Satellite 6.16 for RHEL 90:3.12.0.14-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:3.14.0.14-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:0.1.23-0.3.el9pc
Red Hat Satellite 6.17 for RHEL 90:1.2.0-0.1.el9pc
Red Hat Satellite 6.17 for RHEL 90:4.2.28-0.1.el9pc
Red Hat Satellite 6.17 for RHEL 90:2.22.3-1.el9pc
Red Hat Satellite 6.17 for RHEL 90:3.27.10-2.el9pc
Red Hat Satellite 6.17 for RHEL 90:1.5.1-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:0.4.3-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:4.16.0.14-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:0.13.0-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:6.17.7-1.el9sat
Red Hat Satellite 6.17 for RHEL 90:0.0.3-4.el9sat
Red Hat Satellite 6.18 for RHEL 90:3.16.0.12-1.el9sat

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatsatellite:6.16::el8foreman, foreman-cli, foreman-ec2 and 12 more0:3.12.0.14-1.el8satRHSA-2026:5971
Red Hatsatellite:6.16::el8rubygem-fog-kubevirt0:1.5.1-1.el8satRHSA-2026:5971
Red Hatsatellite:6.16::el8rubygem-foreman_kubevirt0:0.2.0-2.el8satRHSA-2026:5971
Red Hatsatellite:6.16::el8yggdrasil-worker-forwarder0:0.0.3-4.el8satRHSA-2026:5971
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8python-brotli, python3.11-brotli, python-brotli-debugsource and 1 more0:1.2.0-0.1.el8pcRHSA-2026:5971
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8python-django, python3.11-django0:4.2.28-0.1.el8pcRHSA-2026:5971
Red Hatsatellite:6.16::el8, satellite_capsule:6.16::el8rubygem-rubyipmi0:0.13.0-0.1.el8satRHSA-2026:5971
Red Hatsatellite:6.16::el9foreman, foreman-cli, foreman-ec2 and 12 more0:3.12.0.14-1.el9satRHSA-2026:5971
Red Hatsatellite:6.16::el9rubygem-fog-kubevirt0:1.5.1-1.el9satRHSA-2026:5971
Red Hatsatellite:6.16::el9rubygem-foreman_kubevirt0:0.2.0-2.el9satRHSA-2026:5971
Red Hatsatellite:6.16::el9yggdrasil-worker-forwarder0:0.0.3-4.el9satRHSA-2026:5971
Red Hatsatellite:6.16::el9, satellite_capsule:6.16::el9python-brotli, python3.11-brotli, python-brotli-debugsource and 1 more0:1.2.0-0.1.el9pcRHSA-2026:5971
30 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue was rated as Important. Command injection vulnerability in Foreman's WebSocket proxy. Exploitation occurs when an administrator configures a malicious compute resource server and subsequently accesses its VM console functionality. Successful exploitation can lead to remote code execution on the Foreman server, potentially compromising sensitive credentials and the entire managed infrastructure.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Satellite 6.16 for RHEL 8foreman-0:3.12.0.14-1.el8satFixed 2026-03-26RHSA-2026:5971
Red Hat Satellite 6.16 for RHEL 9foreman-0:3.12.0.14-1.el9satFixed 2026-03-26RHSA-2026:5971
Red Hat Satellite 6.17 for RHEL 9foreman-0:3.14.0.14-1.el9satFixed 2026-03-26RHSA-2026:5970
Red Hat Satellite 6.17 for RHEL 9libcomps-0:0.1.23-0.3.el9pcFixed 2026-03-26RHSA-2026:5970
Red Hat Satellite 6.17 for RHEL 9python-brotli-0:1.2.0-0.1.el9pcFixed 2026-03-26RHSA-2026:5970
Red Hat Satellite 6.17 for RHEL 9python-django-0:4.2.28-0.1.el9pcFixed 2026-03-26RHSA-2026:5970
Red Hat Satellite 6.17 for RHEL 9python-pulp-container-0:2.22.3-1.el9pcFixed 2026-03-26RHSA-2026:5970
Red Hat Satellite 6.17 for RHEL 9python-pulp-rpm-0:3.27.10-2.el9pcFixed 2026-03-26RHSA-2026:5970
Red Hat Satellite 6.17 for RHEL 9rubygem-fog-kubevirt-0:1.5.1-1.el9satFixed 2026-03-26RHSA-2026:5970
Red Hat Satellite 6.17 for RHEL 9rubygem-foreman_kubevirt-0:0.4.3-1.el9satFixed 2026-03-26RHSA-2026:5970
Red Hat Satellite 6.17 for RHEL 9rubygem-katello-0:4.16.0.14-1.el9satFixed 2026-03-26RHSA-2026:5970
Red Hat Satellite 6.17 for RHEL 9rubygem-rubyipmi-0:0.13.0-1.el9satFixed 2026-03-26RHSA-2026:5970
Red Hat Satellite 6.17 for RHEL 9satellite-0:6.17.7-1.el9satFixed 2026-03-26RHSA-2026:5970
Red Hat Satellite 6.17 for RHEL 9yggdrasil-worker-forwarder-0:0.0.3-4.el9satFixed 2026-03-26RHSA-2026:5970
Red Hat Satellite 6.18 for RHEL 9foreman-0:3.16.0.12-1.el9satFixed 2026-03-26RHSA-2026:5968
Red Hat Satellite 6satellite-utils:el8/foremanAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-1961.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

  • kalnux/CVE-2026-1961-foreman-poc Harbor Check: matches CVE 0 stars, Python, created
    PoC for CVE-2026-1961 — command injection in Foreman's WebSocket proxy (lib/ws_proxy.rb) via unsanitized compute resource hostname, leading…

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON