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

Foreman: command injection in foreman-rake errors:fetch_log via request_id parameter

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. A command injection vulnerability exists in the foreman-rake errors:fetch_log task. The request_id parameter is passed to an underlying system command (typically grep) without adequate shell neutralization. While the task is intended to fetch specific log entries, an attacker with sudo permissions to execute this rake task can inject shell metacharacters (such as ;, ", or |) to break out of the intended command and execute arbitrary code.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · 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

  • 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