CVE-2026-12540: Red Hat Satellite

High severity, CVSS 8.2. EPSS: 1.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Red Hat Satellite: from 6.16, before 6.16.4 (fixed in 6.16.4); from 6.17, before 6.17.12 (fixed in 6.17.12); from 6.19, before 6.19.5 (fixed in 6.19.5); from 6.18, before 6.18.10 (fixed in 6.18.10); version 6.0 only
  • Theforeman Foreman: affected versions not specified

Published 2026-10-01. Last modified 2026-10-08.