Patch Forecast
Amber warning
Patch this week.

CVE-2026-12540

Redhat Satellite: OS command injection can lead to remote code execution

Risk score
63/100
CVSS
8.2 v3.1
Exploit chance (30 days)
1.2%
Published
1 Oct 2026

Open in the live forecast Today's forecast

What to know

What it is
A flaw was found in Foreman. A command injection vulnerability exists in the foreman-rake errors:fetch_log task. The request_id parameter is passed to an underlying system command (typically grep) without adequate shell neutralization. While the task is intended to fetch specific log entries, an attacker with sudo per…
Affected
Redhat Satellite
Fix
Apply the vendor's security update; see the linked advisory.
Exploitation
No known exploitation

Story map

Story map: Redhat SatelliteTHE FLAWSTHE FIXCVE-2026-12540OS command injection can leadto remote code executionCVSS 8.2 · EPSS 1%CVE-2026-96658Code injection can lead toremote code executionCVSS 8.8 · EPSS 1%CVE-2026-12541OS command injectionCVSS 8.2 · EPSS 1%CVE-2026-96659Information disclosureCVSS 9.1 · EPSS 0%FixApply the vendor's securityupdate; see the linked advisory.Who is exposedRedhat SatelliteAMBER · PATCH THIS WEEKRedhat SatelliteA flaw was found in Foreman.This vulnerability allows anauthenticated remote attackerwith low-level read permissionsto achieve arbitrary codeexecution on the underlyingserver. By manipulating the…Where it standsNo known exploitationCONNECTS TOSame weaknessOS command injection (CWE-78)307 other warnings in 30 days →Same productEarlier Redhat Satellite warnings3 in the last 90 days →
Story map: the flaws, the fix, how it unfolded and what it connects to. Boxes link to the record or article.

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-12540: OS command injection can lead to remote code execution (CVSS 8.2 · EPSS 1%)
  • CVE-2026-96658: Code injection can lead to remote code execution (CVSS 8.8 · EPSS 1%)
  • CVE-2026-12541: OS command injection (CVSS 8.2 · EPSS 1%)
  • CVE-2026-96659: Information disclosure (CVSS 9.1 · EPSS 0%)

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

Why it is Amber

  • CVSS 8.2 high

References

Original description

A flaw was found in Foreman. A command injection vulnerability exists in the foreman-rake errors:fetch_log task. The request_id parameter is passed to an underlying system command (typically grep) without adequate shell neutralization. While the task is intended to fetch specific log entries, an attacker with sudo permissions to execute this rake task can inject shell metacharacters (such as ;, ", or |) to break out of the intended command and execute arbitrary code.

Last activity 1 Oct 2026. Patch Forecast updates every hour.