CVE-2026-12540
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.
Published:Oct 1, 2026
Last Modified:Oct 8, 2026
EPS:Oct 1, 2026
EPSS Score:0.01309
CVSS Score:8.2
Affected Products
Vendor
Product
Action
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Vendor
Redhat
Product
Satellite
Redhat
Satellite
Vendor
Redhat
Product
Satellite Capsule
Redhat
Satellite Capsule
Vendor
Redhat
Product
Satellite Utils
Redhat
Satellite Utils
Vendor
Theforeman
Product
Foreman
Theforeman
Foreman
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
