High severity8.2NVD Advisory· Published Oct 1, 2026· Updated Oct 8, 2026
CVE-2026-12541
CVE-2026-12541
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4- cpe:2.3:a:theforeman:foreman:-:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
7- www.openwall.com/lists/oss-security/2026/10/07/8nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2026:74503nvdVendor Advisory
- access.redhat.com/errata/RHSA-2026:74504nvdVendor Advisory
- access.redhat.com/errata/RHSA-2026:74505nvdVendor Advisory
- access.redhat.com/errata/RHSA-2026:74506nvdVendor Advisory
- access.redhat.com/security/cve/CVE-2026-12541nvdVendor Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingMitigationVendor Advisory
News mentions
0No linked articles in our index yet.