Back to CVE records
High 8.2Published Oct 1, 2026

CVE-2026-12541Foreman: command injection in foreman-rake database tasks

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. OS command injection vulnerabilities exist in the foreman-rake db:dump and db:import_dump tasks. The application fails to properly sanitize user-supplied input in the destination parameter (during backups) and the file parameter (during imports) before passing them to a Ruby system() call for execution. An attacker with permissions to execute foreman-rake (e.g., via a restricted sudo configuration) can append malicious shell commands to the provided file paths.

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
6.0; 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
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.