Vulnerability

CVE-2026-12540

highCVSS 3.1 8.2Published 1 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Red Hat satellite, enterprise linux
  • Theforeman foreman

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning