CVE-2026-12541

High

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.

SeverityHigh
CVSS8.2
Exploit probability—
ProductForeman
PublishedOct 1, 2026
First seenOct 1, 2026

How to fix

Affected products

ProductAffected versionsFixed in
theforeman foremanNo range specified—
redhat satellite6.0, 6.16 ≤ v < 6.16.4, 6.17 ≤ v < 6.17.12, 6.19 ≤ v < 6.19.5, 6.18 ≤ v < 6.18.106.16.4, 6.17.12, 6.19.5, 6.18.10

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.