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

Foreman: foreman: arbitrary code execution via safemode sandbox bypass

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

Summary

A flaw was found in Foreman. This vulnerability allows an authenticated remote attacker with low-level read permissions to achieve arbitrary code execution on the underlying server. By manipulating the permitted methods list within the template rendering engine, an attacker can bypass the safemode sandbox isolation and execute unauthorized commands directly on the host system.

Timeline

  1. CISA SSVC assessment

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

  2. CVE published
  3. Record last updated

Affected versions

  • rubygem-safemode

    Version range not reported

  • rubygem-safemode

    Version range not reported

  • foreman

    Version range not reported

  • python-dynaconf

    Version range not reported

  • python-gitpython

    Version range not reported

  • python-lxml

    Version range not reported

  • python-sqlparse

    Version range not reported

  • rubygem-foreman_remote_execution

    Version range not reported

  • rubygem-hammer_cli

    Version range not reported

  • rubygem-katello

    Version range not reported

  • rubygem-safemode

    Version range not reported

  • satellite

    Version range not reported

  • yggdrasil-worker-forwarder

    Version range not reported

  • rubygem-safemode

    Version range not reported

  • foreman

    Version range not reported

References 6

access.redhat.com

bugzilla.redhat.com