Quick answers
- Is CVE-2026-12541 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-12541 being exploited in the wild.
- How severe is CVE-2026-12541?
- High severity, with a CVSS score of 8.2, published 1 October 2026.
- Which products and versions are affected?
- Foreman <UNKNOWN>.
- Is there a fix for CVE-2026-12541?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-12541 attacked?
- It is attacked with local access, in a hosted service.
- Am I affected by CVE-2026-12541?
- Check whether you run Foreman at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
OS command injection vulnerabilities exist in the foreman-rake db:dump and db:import_dump tasks due to insufficient input sanitization of the destination and file parameters before passing them to Ruby system() calls. An attacker with permissions to execute foreman-rake commands (e.g., via sudo) can inject malicious shell metacharacters into these parameters to execute arbitrary OS commands with the privileges of the Foreman process.
Affected products
- Foreman Foreman <UNKNOWN>
Timeline
- 2026-10-01: disclosed