CVE-2026-12540: A flaw was found in Foreman
CVE-2026-12540 is a high-severity flaw (CVSS 8.2) affecting satellite, foreman. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 ex
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.2 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 1.2% (top 31%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2026-10-01 |
| Last modified | 2026-10-08 |
Last updated 2026-10-08 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-12540?
satellite: upgrade to 6.16.4, 6.17.12, 6.18.10, 6.19.5; foreman: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-12540 being exploited?
CVE-2026-12540 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-12540 affect?
CVE-2026-12540 affects satellite, foreman. Severity is high (CVSS 8.2). 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. Whil
How urgent is CVE-2026-12540?
Priority 51/100. High severity; On your watchlist
Software pages
Related CVEs
- CVE-2026-12112 HIGH 7.8 DOWNGRADE MITIGATE A flaw was found in the foreman-mcp-server
- CVE-2026-13316 MEDIUM 4.4 UPGRADE MITIGATE A flaw has been found in foreman when HTTP parameters are modified in http_proxies_controller and http_proxy f
- CVE-2026-96658 HIGH 8.8 UPGRADE UPGRADE A flaw was found in Foreman
- CVE-2026-96659 CRITICAL 9.1 UPGRADE UPGRADE A flaw was found in Foreman
- CVE-2026-12542 MEDIUM 5.3 UPGRADE UPGRADE A flaw was found in Foreman