p PatchFirst

CVE-2026-12542

CVE-2026-12542 · Foreman: command injection in foreman-tail

CVSS 5.3 · Medium · EPSS 0.9%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • RHSA-2026:74505 · Red Hat satellite 6.17 el9, Red Hat satellite capsule 6.17 el9, Red Hat satellite utils 6.17 el9 ·
  • RHSA-2026:74506 · Red Hat satellite 6.16 el8, Red Hat satellite 6.16 el9, Red Hat satellite capsule 6.16 el8, Red Hat satellite capsule 6.16 el9, Red Hat satellite utils 6.16 el8, Red Hat satellite utils 6.16 el9 ·
  • RHSA-2026:74503 · Red Hat satellite 6.19 el9, Red Hat satellite capsule 6.19 el9, Red Hat satellite utils 6.19 el9 ·
  • RHSA-2026:74504 · Red Hat satellite 6.18 el9, Red Hat satellite capsule 6.18 el9, Red Hat satellite utils 6.18 el9 ·

Affected products and versions

Original sources

Check your server →