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

Foreman: command injection in foreman-tail

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub

Summary

A flaw was found in Foreman. The foreman-tail utility is vulnerable to OS command injection due to the unsafe use of the eval command. The script takes user-supplied arguments and incorporates them directly into a string that is then executed by eval to expand file paths. Because the input is not sanitized or quoted, a local attacker can inject shell metacharacters (e.g., ;, &, |) to execute arbitrary system commands.

Timeline

  1. CVE published
  2. 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