cvelo
P3 · MediumCVSS 5.3

Foreman: command injection in foreman-tail

  • CVE-2026-12542
  • GHSA-79jg-9wx4-f5rr
  • EUVD-2026-90969

Description

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.

Text from the CVE.org record.

Affected

  • redhat satellite

    • from 6.16 to before 6.16.4
    • from 6.17 to before 6.17.12
    • from 6.19 to before 6.19.5
    • from 6.18 to before 6.18.10
    • 6.0
  • theforeman foreman

    • from 1.5.0 up to 3.19.1
    • 5.0.0

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.