CVE-2026-12542
Redhat Satellite: OS command injection
- Risk score
- 56/100
- CVSS
- 7.8 v3.1
- Exploit chance (30 days)
- 0.6%
- Published
- 1 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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, …
- Affected
- Redhat Satellite
- Fix
- Apply the vendor's security update; see the linked advisory.
- Exploitation
- No known exploitation
Story map
At a glance
Redhat Satellite: Amber, patch this week. A flaw was found in Foreman. This vulnerability allows an authenticated remote attacker with low-level read permissions to achieve arbitrary code execution on the underlying server. By manipulating the permitted methods list within the template rendering engine, an attacker can bypass the safemode sandbox isolation an…
The flaws
- CVE-2026-12542: OS command injection (CVSS 7.8 · EPSS 1%)
- CVE-2026-96658: Code injection can lead to remote code execution (CVSS 8.8 · EPSS 1%)
- CVE-2026-12540: OS command injection can lead to remote code execution (CVSS 8.2 · EPSS 1%)
- CVE-2026-12541: OS command injection (CVSS 8.2 · EPSS 1%)
The fix
Fix: Apply the vendor's security update; see the linked advisory.
Who is exposed: Redhat Satellite
Where it stands
- No known exploitation
Connects to
- Same weakness: OS command injection (CWE-78). 306 other warnings in 30 days
- Same product: Earlier Redhat Satellite warnings. 3 in the last 90 days
Why it is Yellow
- CVSS 7.8 high
References
- https://access.redhat.com/errata/RHSA-2026:74503
- https://access.redhat.com/errata/RHSA-2026:74504
- https://access.redhat.com/errata/RHSA-2026:74505
- https://access.redhat.com/errata/RHSA-2026:74506
- https://access.redhat.com/security/cve/CVE-2026-12542
- https://bugzilla.redhat.com/show_bug.cgi?id=2489971
- http://www.openwall.com/lists/oss-security/2026/10/07/7
Original 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.
Last activity 1 Oct 2026. Patch Forecast updates every hour.