Back to CVE records
High 8.2Published Oct 1, 2026

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.

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

Affected products
from 0:3.12.0.23-1.el8sat not affected
CNA record
from 0:3.12.0.23-1.el8sat not affected
CNA record
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

  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vdb-entry, x-refsource-redhat, vendor-advisory
  • issue-tracking, x-refsource-redhat, mitigation, vendor-advisory
  • third-party-advisory

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.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.