CVE-2026-12541

Foreman: command injection in foreman-rake database tasks

HIGH
8.2
CVSS Score
Published: October 1, 2026 at 04:22 PM UTC
Updated: October 8, 2026 at 01:16 PM UTC
2 products affected across 2 vendorsSatelliteForeman· also runs on 1 platform

Using Red Hat Satellite 6.19 for RHEL 9 by Red Hat?

Get instant alerts when new vulnerabilities affect Red Hat Satellite 6.19 for RHEL 9 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.2
Exploit prediction
EPSS 1%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.16 ≤ v < 6.16.46.17 ≤ v < 6.17.126.18 ≤ v < 6.18.106.19 ≤ v < 6.19.5*66.0
Vendor states this is fixed in 0:3.12.0.23-1.el8sat (unaffected)
Vendor states this is fixed in 0:3.12.0.23-1.el9sat (unaffected)
Vendor states this is fixed in 0:3.14.0.22-1.el9sat (unaffected)
Vendor states this is fixed in 0:3.16.0.25-1.el9sat (unaffected)
Vendor states this is fixed in 0:3.18.0.14-1.el9sat (unaffected)
Affected range stops below 6.16.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.17.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.18.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.19.5, so it looks safe — our inference, not a vendor statement
redhat-enterprise-linux (environment)

Runs on — not affected

The affected product only carries this flaw when running on these platforms. The platforms themselves are not vulnerable.

References (7)

Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:74503
VDB Entryx_refsource_REDHATVendor Advisory
Source: cverecord
https://access.redhat.com/security/cve/CVE-2026-12541
Issue Trackingx_refsource_REDHATMitigationVendor Advisory
Source: cverecord
https://bugzilla.redhat.com/show_bug.cgi?id=2489970
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:74504
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:74506
Vendor Advisoryx_refsource_REDHAT
Source: cverecord
https://access.redhat.com/errata/RHSA-2026:74505
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
http://www.openwall.com/lists/oss-security/2026/10/07/8

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.2HIGHredhat
Attack Vector
LOCAL
Complexity
LOW
Privileges
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-78

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card