CVE-2026-12541

published 1 Oct 2026 · updated 2 Nov 2026

Foreman: command injection in foreman-rake database tasks

8.2HighCVSS 8.2EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatSatellite

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-12541 severity on Zeptric[![CVE-2026-12541](https://zeptric.io/badge/cve/CVE-2026-12541.svg)](https://zeptric.io/cve/CVE-2026-12541)