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.
References
| Link | Resource |
|---|---|
| https://access.redhat.com/errata/RHSA-2026:74503 | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2026:74504 | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2026:74505 | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2026:74506 | Vendor Advisory |
| https://access.redhat.com/security/cve/CVE-2026-12541 | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2489970 | Issue Tracking Mitigation Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2026/10/07/8 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
| AND |
|
Configuration 3 (hide)
| AND |
|
Configuration 4 (hide)
| AND |
|
Configuration 5 (hide)
|
Configuration 6 (hide)
| AND |
|
History
08 Oct 2026, 13:16
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:redhat:satellite:6.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* cpe:2.3:a:redhat:satellite:*:*:*:*:*:*:*:* cpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
|
| References | () https://access.redhat.com/errata/RHSA-2026:74503 - Vendor Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:74504 - Vendor Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:74505 - Vendor Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:74506 - Vendor Advisory | |
| References | () https://access.redhat.com/security/cve/CVE-2026-12541 - Vendor Advisory | |
| References | () https://bugzilla.redhat.com/show_bug.cgi?id=2489970 - Issue Tracking, Mitigation, Vendor Advisory | |
| References | () http://www.openwall.com/lists/oss-security/2026/10/07/8 - Third Party Advisory | |
| First Time |
Redhat
Redhat satellite Theforeman foreman Theforeman Redhat enterprise Linux |
07 Oct 2026, 07:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
02 Oct 2026, 17:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
02 Oct 2026, 00:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
01 Oct 2026, 17:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-01 17:17
Updated : 2026-10-08 13:16
NVD link : CVE-2026-12541
Mitre link : CVE-2026-12541
CVE.ORG link : CVE-2026-12541
JSON object : View
Products Affected
redhat
- satellite
- enterprise_linux
theforeman
- foreman
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
