BaselineWatch
Desk

CVE-2026-12542

7.8 high Analyzed

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.

Fix

Patch, vendor advisory and mitigation references on NVD 7

Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.

Change history 1

  1. First seenCVSS 7.8 · redhat, theforemanNVD modified 2026-10-16 13:19

Affected (CPE criteria) 4

  • cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:*
  • cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*
  • cpe:2.3:a:theforeman:foreman:5.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:*

References 7