CVE-2026-12540 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2026/10/07/9 | CVE | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2026:74503 | [email protected] | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2026:74504 | [email protected] | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2026:74505 | [email protected] | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2026:74506 | [email protected] | Vendor Advisory |
| https://access.redhat.com/security/cve/CVE-2026-12540 | [email protected] | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2489969 | [email protected] | Issue TrackingMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redhat satellite | >= 6.16, < 6.16.4 >= 6.17, < 6.17.12 >= 6.19, < 6.19.5 >= 6.18, < 6.18.10 6.0 |
CPE
Remediation
| |
| redhat enterprise linux | 8.0 9.0 |
CPE
Remediation
| |
| theforeman foreman | All versions |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | Initial Analysis | [email protected] |
| Oct 7, 2026 | CVE Modified | CVE |
| Oct 6, 2026 | CVE Modified | CISA-ADP |
| Oct 2, 2026 | CVE Modified | [email protected] |
| Oct 2, 2026 | CVE Modified | [email protected] |
| Oct 1, 2026 | New CVE Received | [email protected] |