← Back

CVE-2026-12540

nvd nist
Published: Oct 1, 2026Modified: Oct 8, 2026

JSON object

Loading...
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)

1 product
Satellite
1 product
Foreman
Configuration A
1 vulnerable · 2 platform
Vulnerable SoftwareAffected Versions
6.16 ≤ version < 6.16.4
Running on/withPlatform Versions
Redhat
Enterprise Linux
Version 8.0
Redhat
Enterprise Linux
Version 9.0
Configuration B
1 vulnerable · 1 platform
Vulnerable SoftwareAffected Versions
6.17 ≤ version < 6.17.12
Running on/withPlatform Versions
Redhat
Enterprise Linux
Version 9.0
Configuration C
1 vulnerable · 1 platform
Vulnerable SoftwareAffected Versions
6.19 ≤ version < 6.19.5
Running on/withPlatform Versions
Redhat
Enterprise Linux
Version 9.0
Configuration D
1 vulnerable
Vulnerable SoftwareAffected Versions
All versions
Configuration E
1 vulnerable · 1 platform
Vulnerable SoftwareAffected Versions
6.18 ≤ version < 6.18.10
Running on/withPlatform Versions
Redhat
Enterprise Linux
Version 9.0
Configuration F
1 vulnerable
Vulnerable SoftwareAffected Versions
Version 6.0

References (7)

Source: secalert@redhat.com
Vendor Advisory
Source: secalert@redhat.com
Vendor Advisory
Source: secalert@redhat.com
Vendor Advisory
Source: secalert@redhat.com
Vendor Advisory
Source: secalert@redhat.com
Vendor Advisory
Source: secalert@redhat.com
Issue TrackingMitigationVendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

Timeline

No history available yet.