CVE-2026-12541
8.2 HIGHPublished 2026-10-01 · Updated 2026-10-07
AI risk analysis
- Summary
- The flaw allows OS command injection through the foreman-rake db:dump and db:import_dump tasks, enabling attackers to execute arbitrary shell commands with the permissions of the application.
- Exploitability
- Exploitation requires the ability to execute foreman-rake tasks, which may be possible via restricted sudo configurations. The vulnerability is relatively easy to exploit given the necessary permissions.
- Blast radius
- If exploited, the impact could be severe, as it allows full control over the system through the execution of arbitrary commands with the application's privileges.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Disable the affected foreman-rake db:dump and db:import_dump tasks until a patch is available, or upgrade to the latest version of Foreman that addresses this issue.
Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-78
All references
- https://access.redhat.com/errata/RHSA-2026:74503
- https://access.redhat.com/errata/RHSA-2026:74504
- https://access.redhat.com/errata/RHSA-2026:74505
- https://access.redhat.com/errata/RHSA-2026:74506
- https://access.redhat.com/security/cve/CVE-2026-12541
- https://bugzilla.redhat.com/show_bug.cgi?id=2489970
- http://www.openwall.com/lists/oss-security/2026/10/07/8
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-55157PoC
- HIGHCVE-2026-65130PoC
- HIGHCVE-2026-85523
- HIGHCVE-2026-100368PoC
- HIGHCVE-2026-100844PoC
- CRITICALCVE-2026-100896PoC
- CRITICALCVE-2026-101001PoC
- CRITICALCVE-2026-101002PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.