CVE-2026-12541
A flaw was found in Foreman. OS command injection vulnerabilities …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/errata/RHSA-2026:74503
- access.redhat.com/security/cve/CVE-2026-12541
- bugzilla.redhat.com/show_bug.cgi?id=2489970
- access.redhat.com/errata/RHSA-2026:74504
- access.redhat.com/errata/RHSA-2026:74506
- access.redhat.com/errata/RHSA-2026:74505
- www.openwall.com/lists/oss-security/2026/10/07/8
- nvd.nist.gov/vuln/detail/CVE-2026-12541
- cve.org/CVERecord?id=CVE-2026-12541
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.