Skip to main content
← All vulnerabilities
CVE-2026-1961

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

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • foreman

    Version range not reported

  • foreman

    Version range not reported

  • foreman

    Version range not reported

  • libcomps

    Version range not reported

  • python-brotli

    Version range not reported

  • python-django

    Version range not reported

  • python-pulp-container

    Version range not reported

  • python-pulp-rpm

    Version range not reported

  • rubygem-fog-kubevirt

    Version range not reported

  • rubygem-foreman_kubevirt

    Version range not reported

  • rubygem-katello

    Version range not reported

  • rubygem-rubyipmi

    Version range not reported

  • satellite

    Version range not reported

  • yggdrasil-worker-forwarder

    Version range not reported

  • foreman

    Version range not reported

  • satellite-utils:el8/foreman

    Version range not reported

References 5

access.redhat.com

bugzilla.redhat.com