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

Foreman: command injection in foreman-rake database tasks

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. OS command injection vulnerabilities exist in the foreman-rake db:dump and db:import_dump tasks. The application fails to properly sanitize user-supplied input in the destination parameter (during backups) and the file parameter (during imports) before passing them to a Ruby system() call for execution. An attacker with permissions to execute foreman-rake (e.g., via a restricted sudo configuration) can append malicious shell commands to the provided file paths.

Timeline

  1. CISA SSVC assessment

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

  2. CVE published
  3. Record last updated

Affected versions

  • foreman

    Version range not reported

  • foreman

    Version range not reported

  • foreman

    Version range not reported

  • foreman

    Version range not reported

  • foreman

    Version range not reported

  • satellite:el8/foreman

    Version range not reported

References 6

access.redhat.com

bugzilla.redhat.com