CVE-2026-12540 is an OS command-injection vulnerability in Foreman's foreman-rake errors:fetch_log task. The task passes the user-controlled request_id parameter to an underlying system command, typically grep, without adequate shell neutralization. An attacker authorized to execute the task through sudo can supply shell metacharacters to escape the intended log-search command and execute arbitrary code with the privileges of the invoked task.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A command injection flaw in Foreman's foreman-rake errors:fetch_log task allows an attacker with sudo permission to execute that task to inject shell metacharacters through the request_id parameter and execute arbitrary code.
A high-severity command-injection flaw in Foreman's foreman-rake errors:fetch_log task. A user who has sudo permission to run this task can manipulate the request_id parameter to inject shell metacharacters into an underlying command, typically grep, and execute arbitrary code.
The request_id parameter permits command injection in the Foreman rake task errors:fetch_log. Red Hat includes a fix in the Satellite 6.17.12 update.
The request_id parameter in the foreman-rake errors:fetch_log task permits command injection. A fix is included in the updated Foreman packages.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.