CVE-2026-12542
Analyzed
Analyzed - Analysis Complete
OS Command Injection in Foreman foreman-tail Utility
Vulnerability report for CVE-2026-12542, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-10-01
Last updated on: 2026-10-16
Assigner: redhat-SADP
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| redhat | satellite | From 6.16 (inc) to 6.16.4 (exc) |
| redhat | satellite | From 6.17 (inc) to 6.17.12 (exc) |
| redhat | satellite | From 6.19 (inc) to 6.19.5 (exc) |
| theforeman | foreman | From 1.5.0 (inc) to 3.19.1 (inc) |
| theforeman | foreman | 5.0.0 |
| redhat | satellite | From 6.18 (inc) to 6.18.10 (exc) |
| redhat | satellite | 6.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-78 | The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. |