CVE-2026-12540Foreman: command injection in foreman-rake errors:fetch_log via request_id parameter
Updated under an hour ago ()
Does this affect you?
It affects Red Hat Satellite 6.16 for RHEL 8 and 3 other products. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 1.20%, higher than 68% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 8.2 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- Weakness (CWE)
- CWE-78
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 1.20% (percentile 68)
- Assigned by
- redhat
- NVD analysis
- Analyzed
- Record last updated
- Oct 7, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat Satellite 6.16 for RHEL 8 redhat:satellite | from 0:3.12.0.23-1.el8sat not affected | CNA record |
Red Hat Red Hat Satellite 6.16 for RHEL 8 redhat:satellite_capsule | from 0:3.12.0.23-1.el8sat not affected | CNA record |
Red Hat Red Hat Satellite 6.16 for RHEL 8 redhat:satellite_utils | from 0:3.12.0.23-1.el8sat not affected | CNA record |
redhat satellite redhat:satellite | from 6.16 before 6.16.4; from 6.17 before 6.17.12; from 6.19 before 6.19.5; from 6.18 before 6.18.10; 6.0 | NVD |
theforeman foreman theforeman:foreman | all versions | NVD |
References
- https://access.redhat.com/errata/RHSA-2026:74503vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:74504vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:74505vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:74506vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2026-12540vdb-entry, x-refsource-redhat, vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2489969issue-tracking, x-refsource-redhat, mitigation, vendor-advisory
- http://www.openwall.com/lists/oss-security/2026/10/07/9third-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.