CVE-2026-12540
8.2
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Exploitability: 1.5 / Impact: 6.0
Source: secalert@redhat.com (Secondary)
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 (6)
Products: Redhat: Satellite · Theforeman: Foreman
Configuration A
Configuration B
Configuration C
Configuration D
| Vulnerable Software | Affected Versions |
|---|---|
| All versions |
Configuration E
References (7)
Source: secalert@redhat.com
Issue TrackingMitigationVendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
Timeline
No history available yet.