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.
Overview
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.
- Published
- 10/1/2026
- Last modified
- 11/26/2026
- CVE assigner
- redhat
- NVD analysis
- Analyzed
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
satellite redhat | 6.0 | Verify advisory | Source |
satellite redhat | ≥ 6.16, < 6.16.4 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
satellite redhat | ≥ 6.17, < 6.17.12 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
satellite redhat | ≥ 6.19, < 6.19.5 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
foreman theforeman | Range not specified — verify advisory | Verify advisory | Source |
satellite redhat | ≥ 6.18, < 6.18.10 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
8.2 · High CVSS 3.1
Scored by redhat
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
8.2 · High CVSS 3.1
Scored by secalert@redhat.com
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Related weaknesses
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.